[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kst/portto4/kst/src/libkstapp
From: Barth Netterfield <netterfield () astro ! utoronto ! ca>
Date: 2012-07-05 2:51:12
Message-ID: 20120705025112.66EC6AC7A9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1303996 by netterfield:
Make sure the correct context menu is always shown.
M +7 -6 view.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/view.cpp #1303995:1303996
@@ -313,13 +313,14 @@
}
}
}
- } else if (event->type() == QEvent::MouseButtonPress) {
- QMouseEvent *e = static_cast<QMouseEvent*>(event);
- if (e->button() == Qt::RightButton) {
- contextMenuEvent();
- return true;
}
- }
+// } else if (event->type() == QEvent::MouseButtonPress) {
+// QMouseEvent *e = static_cast<QMouseEvent*>(event);
+// if (e->button() == Qt::RightButton) {
+// //contextMenuEvent();
+// //return true;
+// }
+// }
return QGraphicsView::event(event);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic