Show confirmation dialog on logout

Minor stylistic refactoring

closes #29
This commit is contained in:
Konstantinos Sideris 2017-06-02 18:04:51 +03:00
parent 5c283a5cda
commit b8c8fed655
13 changed files with 155 additions and 15 deletions

View file

@ -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_;