remove unused variables (#4636)
This commit is contained in:
parent
77622095d5
commit
3e5b7cd392
2 changed files with 0 additions and 7 deletions
|
@ -272,16 +272,11 @@ void DeckViewCardContainer::rearrangeItems(const QList<QPair<int, int>> &rowsAnd
|
|||
{
|
||||
currentRowsAndCols = rowsAndCols;
|
||||
|
||||
int totalCols = 0, totalRows = 0;
|
||||
qreal yUntilNow = separatorY + paddingY;
|
||||
qreal x = (qreal)getCardTypeTextWidth();
|
||||
for (int i = 0; i < rowsAndCols.size(); ++i) {
|
||||
const int tempRows = rowsAndCols[i].first;
|
||||
const int tempCols = rowsAndCols[i].second;
|
||||
totalRows += tempRows;
|
||||
if (tempCols > totalCols)
|
||||
totalCols = tempCols;
|
||||
|
||||
QList<QString> cardTypeList = cardsByType.uniqueKeys();
|
||||
QList<DeckViewCard *> row = cardsByType.values(cardTypeList[i]);
|
||||
std::sort(row.begin(), row.end(), DeckViewCardContainer::sortCardsByName);
|
||||
|
|
|
@ -793,7 +793,6 @@ UnZip::ErrorCode UnzipPrivate::inflateFile(
|
|||
|
||||
// extract data
|
||||
qint64 read;
|
||||
quint64 tot = 0;
|
||||
|
||||
/* Allocate inflate state */
|
||||
z_stream zstr;
|
||||
|
@ -826,7 +825,6 @@ UnZip::ErrorCode UnzipPrivate::inflateFile(
|
|||
decryptBytes(*keys, buffer1, read);
|
||||
|
||||
cur++;
|
||||
tot += read;
|
||||
|
||||
zstr.avail_in = (uInt) read;
|
||||
zstr.next_in = (Bytef*) buffer1;
|
||||
|
|
Loading…
Reference in a new issue