aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/popupeditor/PopupEditorWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/popupeditor/PopupEditorWindow.cpp')
-rw-r--r--src/modules/popupeditor/PopupEditorWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/popupeditor/PopupEditorWindow.cpp b/src/modules/popupeditor/PopupEditorWindow.cpp
index bb20859ff..dcdea254a 100644
--- a/src/modules/popupeditor/PopupEditorWindow.cpp
+++ b/src/modules/popupeditor/PopupEditorWindow.cpp
@@ -371,12 +371,12 @@ void SinglePopupEditor::customContextMenuRequested(const QPoint &pos)
m_pContextPopup->clear();
- PopupTreeWidgetItem * parentMenu = 0;
+ //PopupTreeWidgetItem * parentMenu = 0;
bool bIsMenu = false;
if(it)
{
- parentMenu = (PopupTreeWidgetItem *) (((PopupTreeWidgetItem *)it)->parent());
+ //parentMenu = (PopupTreeWidgetItem *) (((PopupTreeWidgetItem *)it)->parent());
bIsMenu = ((PopupTreeWidgetItem *)it)->m_type == PopupTreeWidgetItem::Menu;
}