I have no linter, yet I must lint.

Took 4 minutes
This commit is contained in:
Lukas Brübach 2025-09-05 02:31:44 +02:00
parent ad4888fcf1
commit 0aa0ee2672
5 changed files with 10 additions and 13 deletions

View file

@ -1,7 +1,7 @@
#include "tapped_out_interface.h" #include "tapped_out_interface.h"
#include "deck_list_card_node.h"
#include "deck_list.h" #include "deck_list.h"
#include "deck_list_card_node.h"
#include <QDesktopServices> #include <QDesktopServices>
#include <QMessageBox> #include <QMessageBox>

View file

@ -3,8 +3,8 @@
#include "../game/cards/exact_card.h" #include "../game/cards/exact_card.h"
#include "abstract_deck_list_card_node.h" #include "abstract_deck_list_card_node.h"
#include "deck_list_card_node.h"
#include "deck_list.h" #include "deck_list.h"
#include "deck_list_card_node.h"
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QList> #include <QList>
@ -253,8 +253,7 @@ private:
void printDeckListNode(QTextCursor *cursor, InnerDecklistNode *node); void printDeckListNode(QTextCursor *cursor, InnerDecklistNode *node);
template <typename T> template <typename T> T getNode(const QModelIndex &index) const
T getNode(const QModelIndex &index) const
{ {
if (!index.isValid()) if (!index.isValid())
return dynamic_cast<T>(root); return dynamic_cast<T>(root);

View file

@ -3,8 +3,8 @@
#include "../game/cards/card_database.h" #include "../game/cards/card_database.h"
#include "../game/cards/card_database_manager.h" #include "../game/cards/card_database_manager.h"
#include "../main.h" #include "../main.h"
#include "deck_list_card_node.h"
#include "deck_list.h" #include "deck_list.h"
#include "deck_list_card_node.h"
#include <QApplication> #include <QApplication>
#include <QClipboard> #include <QClipboard>

View file

@ -3,8 +3,8 @@
#include "../../client/ui/theme_manager.h" #include "../../client/ui/theme_manager.h"
#include "../../game/cards/card_info.h" #include "../../game/cards/card_info.h"
#include "../../settings/cache_settings.h" #include "../../settings/cache_settings.h"
#include "deck_list_card_node.h"
#include "deck_list.h" #include "deck_list.h"
#include "deck_list_card_node.h"
#include <QApplication> #include <QApplication>
#include <QGraphicsSceneMouseEvent> #include <QGraphicsSceneMouseEvent>

View file

@ -34,8 +34,6 @@ bool AbstractDecklistCardNode::compareName(AbstractDecklistNode *other) const
} }
} }
bool AbstractDecklistCardNode::readElement(QXmlStreamReader *xml) bool AbstractDecklistCardNode::readElement(QXmlStreamReader *xml)
{ {
while (!xml->atEnd()) { while (!xml->atEnd()) {