Show confirmation dialog on logout
Minor stylistic refactoring closes #29
This commit is contained in:
parent
5c283a5cda
commit
b8c8fed655
13 changed files with 155 additions and 15 deletions
|
|
@ -38,6 +38,8 @@ public:
|
|||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
static MainWindow *instance();
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event);
|
||||
|
||||
|
|
@ -62,6 +64,8 @@ private slots:
|
|||
private:
|
||||
bool hasActiveUser();
|
||||
|
||||
static MainWindow *instance_;
|
||||
|
||||
// The initial welcome screen.
|
||||
WelcomePage *welcome_page_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue