summaryrefslogtreecommitdiffstats
path: root/kommander/editor/actionlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/actionlistview.cpp')
-rw-r--r--kommander/editor/actionlistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/editor/actionlistview.cpp b/kommander/editor/actionlistview.cpp
index 6513daf0..1c764f35 100644
--- a/kommander/editor/actionlistview.cpp
+++ b/kommander/editor/actionlistview.cpp
@@ -37,7 +37,7 @@ ActionListView::ActionListView( TQWidget *parent, const char *name )
ActionItem::ActionItem( TQListView *lv, TQAction *ac )
: TQListViewItem( lv ), a( 0 ), g( 0 )
{
- if ( ac->inherits( "TQActionGroup" ) )
+ if ( ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
g = (QDesignerActionGroup*)ac;
else
a = (QDesignerAction*)ac;
@@ -47,7 +47,7 @@ ActionItem::ActionItem( TQListView *lv, TQAction *ac )
ActionItem::ActionItem( TQListViewItem *i, TQAction *ac )
: TQListViewItem( i ), a( 0 ), g( 0 )
{
- if ( ac->inherits( "TQActionGroup" ) )
+ if ( ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) )
g = (QDesignerActionGroup*)ac;
else
a = (QDesignerAction*)ac;