summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
authorChristian Klinger2016-06-10 12:12:14 +0200
committerChristian Klinger2016-06-10 12:12:14 +0200
commit011d0933fa5a811da37fca99a81c31e103dcc35d (patch)
tree3a13a50e41a885d7ed22f701c1a7b330231129f2 /src/dialog.h
parentcatch ALL keyboard events. (diff)
downloadvmchooser2-011d0933fa5a811da37fca99a81c31e103dcc35d.tar.gz
vmchooser2-011d0933fa5a811da37fca99a81c31e103dcc35d.tar.xz
vmchooser2-011d0933fa5a811da37fca99a81c31e103dcc35d.zip
improve keyboard behaviour.
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 d99c00b..a170d31 100644
--- a/src/dialog.h
+++ b/src/dialog.h
@@ -12,6 +12,7 @@
#include "sessiontreemodel.h"
#include "sessionsiconholder.h"
+
namespace Ui {
class Dialog;
}
@@ -59,6 +60,7 @@ class Dialog : public QDialog {
void configClearButton();
void setListModel(SessionTreeModel *model);
void keyPressEvent(QKeyEvent * e);
+ void selectFirstElement();
private slots:
void on_pushButtonStart_clicked();