diff options
author | Amit Chaudhuri <amit.k.chaudhuri@gmail.com> | 2013-05-06 09:12:53 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-06 06:12:53 -0700 |
commit | baee8975747e8a4944b377b53a554560f292a881 (patch) | |
tree | db8b6b2f195ee68e6297f103886ac8c4cbafd0b0 /qt-ui/mainwindow.cpp | |
parent | f07614fb2f55644a6124b0e837d2776afadee113 (diff) | |
download | subsurface-baee8975747e8a4944b377b53a554560f292a881.tar.gz |
Add various keyboard shortcuts.
Add shortcuts to match GTK version for view menu items and the log menu
so that e.g. Ctrl+1 selects the list view.
Remove debug statements from the view functions. Leave in place for
functions with no obvious actions yet coded.
Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 53469dc86..f29c82588 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -207,8 +207,6 @@ void MainWindow::on_actionYearlyStatistics_triggered() void MainWindow::on_actionViewList_triggered() { - qDebug("actionViewList"); - ui->InfoWidget->setVisible(false); ui->ListWidget->setVisible(true); ui->ProfileWidget->setVisible(false); @@ -216,8 +214,6 @@ void MainWindow::on_actionViewList_triggered() void MainWindow::on_actionViewProfile_triggered() { - qDebug("actionViewProfile"); - ui->InfoWidget->setVisible(false); ui->ListWidget->setVisible(false); ui->ProfileWidget->setVisible(true); @@ -225,8 +221,6 @@ void MainWindow::on_actionViewProfile_triggered() void MainWindow::on_actionViewInfo_triggered() { - qDebug("actionViewInfo"); - ui->InfoWidget->setVisible(true); ui->ListWidget->setVisible(false); ui->ProfileWidget->setVisible(false); @@ -234,8 +228,6 @@ void MainWindow::on_actionViewInfo_triggered() void MainWindow::on_actionViewAll_triggered() { - qDebug("actionViewAll"); - ui->InfoWidget->setVisible(true); ui->ListWidget->setVisible(true); ui->ProfileWidget->setVisible(true); |