mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Give me the strength to lint that, which is necessary, and to unlint that, which the IDE has linted by itself.
Took 5 minutes
This commit is contained in:
parent
9d868f9c2d
commit
0579985432
4 changed files with 4 additions and 5 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
#include "deck_filter_string.h"
|
#include "deck_filter_string.h"
|
||||||
|
|
||||||
#include <libcockatrice/utility/peglib.h>
|
|
||||||
#include "filter_string.h"
|
#include "filter_string.h"
|
||||||
|
|
||||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||||
|
#include <libcockatrice/utility/peglib.h>
|
||||||
|
|
||||||
static peg::parser search(R"(
|
static peg::parser search(R"(
|
||||||
Start <- QueryPartList
|
Start <- QueryPartList
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
#include "filter_string.h"
|
#include "filter_string.h"
|
||||||
|
|
||||||
#include <libcockatrice/utility/peglib.h>
|
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <libcockatrice/utility/peglib.h>
|
||||||
|
|
||||||
static peg::parser search(R"(
|
static peg::parser search(R"(
|
||||||
Start <- QueryPartList
|
Start <- QueryPartList
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ void ZoneViewZone::zoneDumpReceived(const Response &r)
|
||||||
|
|
||||||
qobject_cast<ZoneViewZoneLogic *>(getLogic())->updateCardIds(ZoneViewZoneLogic::INITIALIZE);
|
qobject_cast<ZoneViewZoneLogic *>(getLogic())->updateCardIds(ZoneViewZoneLogic::INITIALIZE);
|
||||||
reorganizeCards();
|
reorganizeCards();
|
||||||
emit getLogic() -> cardCountChanged();
|
emit getLogic()->cardCountChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Because of boundingRect(), this function must not be called before the zone was added to a scene.
|
// Because of boundingRect(), this function must not be called before the zone was added to a scene.
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@
|
||||||
#include "interface/window_main.h"
|
#include "interface/window_main.h"
|
||||||
#include "version_string.h"
|
#include "version_string.h"
|
||||||
|
|
||||||
#include <libcockatrice/protocol/featureset.h>
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QCryptographicHash>
|
#include <QCryptographicHash>
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
|
|
@ -42,6 +41,7 @@
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
#include <QtPlugin>
|
#include <QtPlugin>
|
||||||
|
#include <libcockatrice/protocol/featureset.h>
|
||||||
#include <libcockatrice/rng/rng_sfmt.h>
|
#include <libcockatrice/rng/rng_sfmt.h>
|
||||||
#include <libcockatrice/settings/cache_settings.h>
|
#include <libcockatrice/settings/cache_settings.h>
|
||||||
#include <libcockatrice/utility/logger.h>
|
#include <libcockatrice/utility/logger.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue