mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
I have no linter, yet I must lint.
Took 4 minutes
This commit is contained in:
parent
ad4888fcf1
commit
0aa0ee2672
5 changed files with 10 additions and 13 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue