diff options
author | Torsten Rahn <Torsten.Rahn@basyskom.de> | 2010-07-28 10:41:54 +0200 |
---|---|---|
committer | Torsten Rahn <Torsten.Rahn@basyskom.de> | 2010-07-28 10:44:06 +0200 |
commit | ea41d1fa8da1301ba10539b4238569eb06610771 (patch) | |
tree | 28c3e19d08a114291babf86736b3edde5d6eda4c /plainqt | |
parent | 90080e61b4cd291d0267b52983e4f45f149cdcf2 (diff) |
Fixes: NB#182002 Shift + 'T' makes screenshots instead of Shift + Ctrl + 'T'
RevBy: Armin Berres, John Tapsell
Diffstat (limited to 'plainqt')
-rw-r--r-- | plainqt/style/qtmaemo6styleeventfilter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plainqt/style/qtmaemo6styleeventfilter.cpp b/plainqt/style/qtmaemo6styleeventfilter.cpp index 246d8002..c0556dba 100644 --- a/plainqt/style/qtmaemo6styleeventfilter.cpp +++ b/plainqt/style/qtmaemo6styleeventfilter.cpp @@ -194,7 +194,8 @@ bool QtMaemo6StyleEventFilter::eventFilter(QObject *obj, QEvent *event) break; case QEvent::KeyPress: { QKeyEvent* k = static_cast<QKeyEvent*>(event); - if(Qt::Key_T == k->key() && k->modifiers () & (Qt::ShiftModifier & Qt::ControlModifier)) { + if(Qt::Key_T == k->key() && k->modifiers () & (Qt::ControlModifier | Qt::AltModifier) + && (k->modifiers () & Qt::ShiftModifier)) { qCritical() << "Taking screenshot"; QPixmap screenshot; screenshot = QPixmap::grabWindow(QApplication::desktop()->winId()); |