summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2017-10-09 17:29:18 +0200
committerJonathan Bauer2017-10-09 17:29:18 +0200
commit7d4f7c082496708df57d73cc1081394057779fec (patch)
treeb9169562b785a6b6bc24521cb5a3b76f1d9f6845 /src/dialog.cpp
parentReset 'autoquit' on user interaction (diff)
downloadvmchooser2-7d4f7c082496708df57d73cc1081394057779fec.tar.gz
vmchooser2-7d4f7c082496708df57d73cc1081394057779fec.tar.xz
vmchooser2-7d4f7c082496708df57d73cc1081394057779fec.zip
stop the auto-center/auto-quit timer in a session
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index efe659d..0de9e93 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -184,7 +184,7 @@ void Dialog::on_treeView_doubleClicked(const QModelIndex& index)
}
ChooserSettings::setSetting("last-session", (s->shortDescription()));
ChooserSettings::setSetting("last-tab", QString::number(activeTab_));
- autoQuit_ = 0; // So we don't kill the session :>
+ centerTimer_->stop(); // Stop the auto-center/auto-quit timer, so we don't kill the session :>
setVisible(false);
} else {
QMessageBox::warning(