summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r--gui/MainWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index 2e70a6a6..b0e86249 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -119,8 +119,9 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
// Global shortcuts
{
+ //FIXME: This is kinda weird. and bad. We need some kind of managed shutdown.
auto q = new QShortcut(QKeySequence::Quit, this);
- connect(q, &QShortcut::activated, qApp, &QCoreApplication::quit);
+ connect(q, SIGNAL(activated()), qApp, SLOT(quit()));
}
// The instance action toolbar customizations