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; } }