aboutsummaryrefslogtreecommitdiff
path: root/plainqt
diff options
context:
space:
mode:
authorTorsten Rahn <Torsten.Rahn@basyskom.de>2010-07-28 10:25:45 +0200
committerTorsten Rahn <Torsten.Rahn@basyskom.de>2010-07-28 10:30:37 +0200
commitfd8d2adae76323c3c27865bbac98991ab1d0cb82 (patch)
tree4009a3d1a762e30f60badf6db1576aad968e8a83 /plainqt
parentc740fe915f5ecc755470b4caa2425ca2ee28b7eb (diff)
Fixes: NB#182002 Shift + 'T' makes screenshots instead of Shift + Ctrl + 'T'
RevBy: Bernd Lamecker
Diffstat (limited to 'plainqt')
-rw-r--r--plainqt/style/qtmaemo6styleeventfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plainqt/style/qtmaemo6styleeventfilter.cpp b/plainqt/style/qtmaemo6styleeventfilter.cpp
index bd467d9c..246d8002 100644
--- a/plainqt/style/qtmaemo6styleeventfilter.cpp
+++ b/plainqt/style/qtmaemo6styleeventfilter.cpp
@@ -194,7 +194,7 @@ 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::ShiftModifier & Qt::ControlModifier)) {
qCritical() << "Taking screenshot";
QPixmap screenshot;
screenshot = QPixmap::grabWindow(QApplication::desktop()->winId());