mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -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
|
|
@ -19,7 +19,7 @@ private:
|
|||
QSpinBox *minutesEdit;
|
||||
|
||||
public:
|
||||
ShutdownDialog(QWidget *parent = 0);
|
||||
ShutdownDialog(QWidget *parent = nullptr);
|
||||
QString getReason() const;
|
||||
int getMinutes() const;
|
||||
};
|
||||
|
|
@ -45,7 +45,7 @@ private slots:
|
|||
void actLock();
|
||||
|
||||
public:
|
||||
TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, bool _fullAdmin, QWidget *parent = 0);
|
||||
TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, bool _fullAdmin, QWidget *parent = nullptr);
|
||||
void retranslateUi();
|
||||
QString getTabText() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue