Initialize pointer to a default value

This commit is contained in:
Chocobo1
2022-06-23 12:28:00 +08:00
parent 6de72ecc77
commit 02d906d3ae
77 changed files with 178 additions and 202 deletions

View File

@@ -62,9 +62,9 @@ private:
void updateText();
// Vars
Ui::ShutdownConfirmDialog *m_ui;
Ui::ShutdownConfirmDialog *m_ui = nullptr;
QTimer m_timer;
int m_timeout;
int m_timeout = 15;
ShutdownDialogAction m_action;
QString m_msg;
};