summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/kcoloractions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/kcoloractions.cpp')
-rw-r--r--lib/kofficeui/kcoloractions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficeui/kcoloractions.cpp b/lib/kofficeui/kcoloractions.cpp
index aec1aab2..d34c2392 100644
--- a/lib/kofficeui/kcoloractions.cpp
+++ b/lib/kofficeui/kcoloractions.cpp
@@ -237,7 +237,7 @@ int TDESelectColorAction::plug( TQWidget* w, int index )
if (kapp && !kapp->authorizeTDEAction(name()))
return -1;
- if ( w->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) )
+ if ( w->inherits("TQPopupMenu") )
{
TQPopupMenu* menu = static_cast<TQPopupMenu*>( w );
int id;