[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/containmentactions
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-08-25 16:14:49
Message-ID: 1251216889.696252.10266.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1015485 by aseigo:
menus should show on press, not release (though the paste plugin is correct in activating on release)
M +2 -2 applauncher/launch.cpp
M +1 -1 contextmenu/menu.cpp
M +1 -1 switchactivity/switch.cpp
M +1 -1 switchdesktop/desktop.cpp
M +1 -1 switchwindow/switch.cpp
M +1 -1 test/test.cpp
M +1 -1 zoom/zoom.cpp
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/applauncher/launch.cpp #1015484:1015485
@@ -43,7 +43,7 @@
{
QPoint screenPos;
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease:
+ case QEvent::GraphicsSceneMousePress:
screenPos = (static_cast<QGraphicsSceneMouseEvent*>(event))->screenPos();
break;
case QEvent::GraphicsSceneWheel:
@@ -56,7 +56,7 @@
Plasma::DataEngine *apps = dataEngine("apps");
- if (! apps->isValid()) {
+ if (!apps->isValid()) {
return;
}
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/contextmenu/menu.cpp #1015484:1015485
@@ -159,7 +159,7 @@
{
QPoint screenPos;
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease: {
+ case QEvent::GraphicsSceneMousePress: {
QGraphicsSceneMouseEvent *e = dynamic_cast<QGraphicsSceneMouseEvent*>(event);
screenPos = e->screenPos();
break;
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/switchactivity/switch.cpp #1015484:1015485
@@ -38,7 +38,7 @@
void SwitchActivity::contextEvent(QEvent *event)
{
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease:
+ case QEvent::GraphicsSceneMousePress:
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
break;
case QEvent::GraphicsSceneWheel:
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/switchdesktop/desktop.cpp #1015484:1015485
@@ -34,7 +34,7 @@
void SwitchDesktop::contextEvent(QEvent *event)
{
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease:
+ case QEvent::GraphicsSceneMousePress:
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
break;
case QEvent::GraphicsSceneWheel:
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/switchwindow/switch.cpp #1015484:1015485
@@ -77,7 +77,7 @@
void SwitchWindow::contextEvent(QEvent *event)
{
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease:
+ case QEvent::GraphicsSceneMousePress:
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
break;
case QEvent::GraphicsSceneWheel:
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/test/test.cpp #1015484:1015485
@@ -36,7 +36,7 @@
void ContextTest::contextEvent(QEvent *event)
{
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease:
+ case QEvent::GraphicsSceneMousePress:
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
break;
case QEvent::GraphicsSceneWheel:
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/zoom/zoom.cpp #1015484:1015485
@@ -38,7 +38,7 @@
void Zoom::contextEvent(QEvent *event)
{
switch (event->type()) {
- case QEvent::GraphicsSceneMouseRelease:
+ case QEvent::GraphicsSceneMousePress:
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
break;
case QEvent::GraphicsSceneWheel:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic