summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-02 14:50:41 +0200
committerSimon Rettberg2016-09-02 14:50:41 +0200
commit3e1fa28a17b96a8aa7780c075c4711cdc2bb3b91 (patch)
treecd1d778c12a8ba2fd52b51c7f519bae4a2d11ff3 /src/dialog.h
parentSupport telling server whether we are in exam mode (diff)
downloadvmchooser2-3e1fa28a17b96a8aa7780c075c4711cdc2bb3b91.tar.gz
vmchooser2-3e1fa28a17b96a8aa7780c075c4711cdc2bb3b91.tar.xz
vmchooser2-3e1fa28a17b96a8aa7780c075c4711cdc2bb3b91.zip
Don't allow selecting native sessions in exam mode
Diffstat (limited to 'src/dialog.h')
-rw-r--r--src/dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.h b/src/dialog.h
index 552020d..342a988 100644
--- a/src/dialog.h
+++ b/src/dialog.h
@@ -30,7 +30,7 @@ class Dialog : public QDialog {
static const int TAB_ALL_VMS = 2;
static const int TAB_COUNT = 3;
public: // Public methods
- explicit Dialog(int defaultTab = -1, QWidget *parent = 0);
+ explicit Dialog(int defaultTab = -1, bool allowNative = true, QWidget *parent = 0);
~Dialog();
void addItems(const QList<Session*>&, int tab);
void addStatusString(const int status);