summaryrefslogtreecommitdiffabout
path: root/korganizer/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 0cb0bce..95e1607 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -789,3 +789,4 @@ void MainWindow::initActions()
configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 );
- action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this );
+ icon = loadPixmap( pathString + "configure" );
+ action = new QAction( i18n("Toggle Resource View"), icon, i18n("Toggle Resource View"), 0, this );
action->addTo( viewMenu );
@@ -1490,3 +1491,3 @@ void MainWindow::keyBindings()
i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+
- i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+
+ i18n("<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n")+
i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+
@@ -1989,6 +1990,6 @@ void MainWindow::keyPressEvent ( QKeyEvent * e )
case Qt::Key_F:
- if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
- mView->editFilters();
- else
- mView->toggleFilter();
+ mView->editFilters();
+ break;
+ case Qt::Key_R:
+ mView->toggleFilter();
break;