diff options
Diffstat (limited to 'kommander/widgets/execbutton.cpp')
-rw-r--r-- | kommander/widgets/execbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/widgets/execbutton.cpp b/kommander/widgets/execbutton.cpp index 5fd3750f..63bb503b 100644 --- a/kommander/widgets/execbutton.cpp +++ b/kommander/widgets/execbutton.cpp @@ -207,7 +207,7 @@ TQString ExecButton::handleDCOP(int function, const TQStringList& args) TQWidget * w; while ( (w=it.current()) != 0 ) { // for each widget... ++it; - if (w->name() == args[0] && w->className() == "PopupMenu") + if (w->name() == args[0] && ( strcmp(w->className(), "PopupMenu")) == 0 ) { TQPopupMenu *popup = dynamic_cast<TQPopupMenu*>(w->child("unnamed", "KPopupMenu")); this->setPopup(popup); |