From 0e6fbcd9abc3e00427ea1cfb6eb900dd864a1752 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 10:00:04 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- src/app/mainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(w)->changeItem( id, menu_text ); else if (w->inherits( "TDEToolBar" )) { -- cgit v1.2.1