[Kst] branches/work/kst/portto4/kst/src/libkstapp
George Staikos
staikos at kde.org
Tue Jun 19 06:10:33 CEST 2007
SVN commit 677388 by staikos:
be less destructive
M +4 -4 viewitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #677387:677388
@@ -356,8 +356,8 @@
void ViewItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) {
QMenu menu;
- QAction *removeAction = menu.addAction(tr("Remove"));
- connect(removeAction, SIGNAL(triggered()), this, SLOT(remove()));
+ QAction *editAction = menu.addAction(tr("Edit"));
+ connect(editAction, SIGNAL(triggered()), this, SLOT(edit()));
QAction *raiseAction = menu.addAction(tr("Raise"));
connect(raiseAction, SIGNAL(triggered()), this, SLOT(raise()));
@@ -365,8 +365,8 @@
QAction *lowerAction = menu.addAction(tr("Lower"));
connect(lowerAction, SIGNAL(triggered()), this, SLOT(lower()));
- QAction *editAction = menu.addAction(tr("Edit"));
- connect(editAction, SIGNAL(triggered()), this, SLOT(edit()));
+ QAction *removeAction = menu.addAction(tr("Remove"));
+ connect(removeAction, SIGNAL(triggered()), this, SLOT(remove()));
menu.exec(event->screenPos());
}
More information about the Kst
mailing list