summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.h')
-rw-r--r--src/dialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialog.h b/src/dialog.h
index cc7f50e..d9c5d6b 100644
--- a/src/dialog.h
+++ b/src/dialog.h
@@ -41,6 +41,7 @@ class Dialog : public QDialog {
void setTheme();
void startSession(const QString& name);
void downloadData(const QString& locationIds);
+ static QDialog* getInstance();
protected: // Overrides
void changeEvent(QEvent *e);
@@ -50,6 +51,7 @@ class Dialog : public QDialog {
void showEvent(QShowEvent * e) override;
private: // Private vars n methods
+ static QDialog* instance;
Ui::Dialog *ui;
SessionTreeModel *model_[TAB_COUNT];
QPushButton *tabs_[TAB_COUNT];