diff options
author | Simon Rettberg | 2019-06-03 15:47:47 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-06-03 15:47:47 +0200 |
commit | cf77e6923cae8b21b8319b7edf6102c80915b45a (patch) | |
tree | 95114958ec59569c91bf13d7df1caa7b4b820e62 /src/dialog.h | |
parent | Add option to show the "disable screensaver" checkbox (diff) | |
download | vmchooser2-cf77e6923cae8b21b8319b7edf6102c80915b45a.tar.gz vmchooser2-cf77e6923cae8b21b8319b7edf6102c80915b45a.tar.xz vmchooser2-cf77e6923cae8b21b8319b7edf6102c80915b45a.zip |
Refactor user .ini class, support "recent VMs" tab, misc. cleanup
Diffstat (limited to 'src/dialog.h')
-rw-r--r-- | src/dialog.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dialog.h b/src/dialog.h index 0d74111..5c3af17 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -26,7 +26,7 @@ class Dialog : public QDialog { static const int STR_NO_ITEMS = 2; static const int STR__MAX = 3; static const int TAB_NATIVE = 0; - static const int TAB_MY_COURSES = 1; + static const int TAB_RECENT_COURSES = 1; static const int TAB_ALL_VMS = 2; static const int TAB_COUNT = 3; @@ -36,8 +36,7 @@ class Dialog : public QDialog { void addItems(const QList<Session*>&, int tab); void addStatusString(const int status); void removeStatusString(const int status); - bool selectSession(const QString& name); - bool selectSessionByUuid(const QString& name); + bool selectSession(const QString& name, int lastTab = -1); void selectPreviousSession(); void setTheme(); void startSession(const QString& name); |