X-Git-Url: http://git.maemo.org/git/?p=case;a=blobdiff_plain;f=src%2Fcase.cpp;h=231e230a21c588581cae8ab565ff3611c38dc689;hp=677044727a5df3d91c15c46894dcab589dbf35d2;hb=d65e23c6d2bcfd6f4d4e0c2fe3ee80232fa78eae;hpb=83f2b3048852099dd480c839d0840ea9630d8295 diff --git a/src/case.cpp b/src/case.cpp index 6770447..231e230 100644 --- a/src/case.cpp +++ b/src/case.cpp @@ -97,6 +97,15 @@ void Case::switchActivePane() { } +void Case::keyPressEvent(QKeyEvent *e) { + if(e->key() == Qt::Key_H && e->modifiers() == Qt::ControlModifier) { + activePane->toggleShowHiddenFiles(); + } else { + QMainWindow::keyPressEvent(e); + } +} + + void Case::clonePane() { inactivePane->changePath(activePane->path()); }