diff options
author | Jan Darmochwal | 2010-10-05 16:48:21 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-05 16:48:21 +0200 |
commit | 7abea084608e1c180216ea4d2bce702717ec2369 (patch) | |
tree | b731d464921bb22f1859bc9d8c81a710d3a96ddf /src/dialog.h | |
parent | simple PVS configuration in vmchooser (diff) | |
download | vmchooser-7abea084608e1c180216ea4d2bce702717ec2369.tar.gz vmchooser-7abea084608e1c180216ea4d2bce702717ec2369.tar.xz vmchooser-7abea084608e1c180216ea4d2bce702717ec2369.zip |
highlight previous session
This patch makes vmchooser hightlight the previous session run.
Selection of the session is only based on the session name.
The topmost session with the same name as the previous session will be highlighted.
Diffstat (limited to 'src/dialog.h')
-rw-r--r-- | src/dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialog.h b/src/dialog.h index e4d87e9..f8794d9 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -18,6 +18,8 @@ public: Dialog(QWidget *parent = 0); ~Dialog(); void addItems(const QList<Session*>&, const QString& section); + void selectSession(const QString& name); + void selectPreviousSession(); protected: void changeEvent(QEvent *e); |