|
|
|
@ -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);
|
|
|
|
|