summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/menu_python.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/menu_python.cpp')
-rw-r--r--superkaramba/src/menu_python.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/superkaramba/src/menu_python.cpp b/superkaramba/src/menu_python.cpp
index 5d80a75..c42a009 100644
--- a/superkaramba/src/menu_python.cpp
+++ b/superkaramba/src/menu_python.cpp
@@ -38,7 +38,7 @@ long createMenu(long widget)
karamba* currTheme = (karamba*)widget;
TDEPopupMenu* tmp = new TDEPopupMenu(currTheme);
- currTheme->menuList->append( TQT_TQOBJECT(tmp) );
+ currTheme->menuList->append( tmp );
currTheme->connect(tmp, TQT_SIGNAL(activated(int)), currTheme,
TQT_SLOT(passMenuItemClicked(int)));
@@ -86,7 +86,7 @@ long deleteMenu(long widget, long menu)
karamba* currTheme = (karamba*)widget;
TDEPopupMenu* tmp = (TDEPopupMenu*)menu;
- currTheme->menuList->removeRef(TQT_TQOBJECT(tmp));
+ currTheme->menuList->removeRef(tmp);
return 1;
}