mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 15:32:15 -07:00
Lint.
This commit is contained in:
parent
db79534530
commit
3380ee541f
2 changed files with 14 additions and 13 deletions
|
|
@ -10,8 +10,8 @@
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QNetworkAccessManager>
|
#include <QNetworkAccessManager>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QPushButton>
|
|
||||||
#include <QProgressBar>
|
#include <QProgressBar>
|
||||||
|
#include <QPushButton>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QTableWidget>
|
#include <QTableWidget>
|
||||||
|
|
||||||
|
|
@ -19,10 +19,13 @@ class DeckListModel;
|
||||||
class QLabel;
|
class QLabel;
|
||||||
class QScrollArea;
|
class QScrollArea;
|
||||||
|
|
||||||
class CardPriceTableWidgetItem : public QTableWidgetItem {
|
class CardPriceTableWidgetItem : public QTableWidgetItem
|
||||||
|
{
|
||||||
public:
|
public:
|
||||||
// Constructor
|
// Constructor
|
||||||
CardPriceTableWidgetItem(const QString &text) : QTableWidgetItem(text) {}
|
CardPriceTableWidgetItem(const QString &text) : QTableWidgetItem(text)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
bool operator<(const QTableWidgetItem &other) const override
|
bool operator<(const QTableWidgetItem &other) const override
|
||||||
{
|
{
|
||||||
|
|
@ -40,7 +43,6 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class DlgGetCardPrices : public QDialog
|
class DlgGetCardPrices : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
@ -48,10 +50,10 @@ class DlgGetCardPrices : public QDialog
|
||||||
public:
|
public:
|
||||||
explicit DlgGetCardPrices(QWidget *parent, DeckListModel *_model);
|
explicit DlgGetCardPrices(QWidget *parent, DeckListModel *_model);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void allRequestsFinished();
|
void allRequestsFinished();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onCardPriceReply();
|
void onCardPriceReply();
|
||||||
void onAllRequestsFinished();
|
void onAllRequestsFinished();
|
||||||
void actOK();
|
void actOK();
|
||||||
|
|
@ -95,7 +97,6 @@ private:
|
||||||
|
|
||||||
int totalCardsToProcess = 0;
|
int totalCardsToProcess = 0;
|
||||||
int finishedCardCount = 0;
|
int finishedCardCount = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DLG_GET_CARD_PRICES_H
|
#endif // DLG_GET_CARD_PRICES_H
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue