From: Joel Holdsworth Date: Mon, 18 Mar 2013 22:59:36 +0000 (+0000) Subject: Implemented Ctrl+Q quit shortcut X-Git-Tag: pulseview-0.1.0~70 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d1bb7d7a491f99150c59aa6c36108c766f948044;p=pulseview.git Implemented Ctrl+Q quit shortcut --- diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index e2f29e34..3aeb1227 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -118,6 +118,7 @@ void MainWindow::setup_ui() "MainWindow", "&Quit", 0, QApplication::UnicodeUTF8)); _action_quit->setIcon(QIcon::fromTheme("application-exit", QIcon(":/icons/application-exit.png"))); + _action_quit->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q)); _action_quit->setObjectName(QString::fromUtf8("actionQuit")); _menu_file->addAction(_action_quit);