summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index e1a0a82..d36cf57 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -222,7 +222,7 @@ bool MainWindow::on_key_press_event(GdkEventKey* event) {
case GDK_KEY_Q:
case GDK_KEY_w:
case GDK_KEY_q:
- this->get_application()->quit();
+ close();
return true;
}
}