summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 10:00:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 09:51:34 +0900
commitf95c2be00be39dbe1ead727e46b32e96710c7d11 (patch)
tree73202212a13aaecf45e78a954c078e228a4f7982
parent339cd31bd6a66973946c899a9e2aa7f6980dcc6b (diff)
downloadfilelight-f95c2be00be39dbe1ead727e46b32e96710c7d11.tar.gz
filelight-f95c2be00be39dbe1ead727e46b32e96710c7d11.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0e6fbcd9abc3e00427ea1cfb6eb900dd864a1752)
-rw-r--r--src/app/mainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp
index a46644c..1b35f70 100644
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -266,7 +266,7 @@ void setActionMenuTextOnly( TDEAction *a, TQString const &suffix )
TQWidget *w = a->container( i );
int const id = a->itemId( i );
- if (w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ))
+ if (w->inherits( "TQPopupMenu" ))
static_cast<TQPopupMenu*>(w)->changeItem( id, menu_text );
else if (w->inherits( "TDEToolBar" )) {