mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
add a bunch of parents to dialogs (#3658)
* add a bunch of parents to dialogs works on #3651 * use game as parent instead * add more parents * fix create token dialog modality * add parent to game information window * replace a bunch of nullptrs with the magic of sed * add parent to tip of the day and counters * reorder game ptr * set parent for life counter * clangify
This commit is contained in:
parent
7072f24103
commit
c874f201c3
66 changed files with 144 additions and 111 deletions
|
|
@ -81,7 +81,7 @@ private slots:
|
|||
void replayListFinished(const Response &r);
|
||||
|
||||
public:
|
||||
RemoteReplayList_TreeModel(AbstractClient *_client, QObject *parent = 0);
|
||||
RemoteReplayList_TreeModel(AbstractClient *_client, QObject *parent = nullptr);
|
||||
~RemoteReplayList_TreeModel();
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
int columnCount(const QModelIndex & /*parent*/ = QModelIndex()) const
|
||||
|
|
@ -109,7 +109,7 @@ private:
|
|||
ServerInfo_Replay const *getNode(const QModelIndex &ind) const;
|
||||
|
||||
public:
|
||||
RemoteReplayList_TreeWidget(AbstractClient *_client, QWidget *parent = 0);
|
||||
RemoteReplayList_TreeWidget(AbstractClient *_client, QWidget *parent = nullptr);
|
||||
ServerInfo_Replay const *getCurrentReplay() const;
|
||||
ServerInfo_ReplayMatch const *getCurrentReplayMatch() const;
|
||||
void refreshTree();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue