summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-06-03 15:47:47 +0200
committerSimon Rettberg2019-06-03 15:47:47 +0200
commitcf77e6923cae8b21b8319b7edf6102c80915b45a (patch)
tree95114958ec59569c91bf13d7df1caa7b4b820e62 /src/dialog.h
parentAdd option to show the "disable screensaver" checkbox (diff)
downloadvmchooser2-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.h5
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);