|
|
@ -207,7 +207,7 @@ TQString ExecButton::handleDCOP(int function, const TQStringList& args)
|
|
|
|
TQWidget * w;
|
|
|
|
TQWidget * w;
|
|
|
|
while ( (w=it.current()) != 0 ) { // for each widget...
|
|
|
|
while ( (w=it.current()) != 0 ) { // for each widget...
|
|
|
|
++it;
|
|
|
|
++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"));
|
|
|
|
TQPopupMenu *popup = dynamic_cast<TQPopupMenu*>(w->child("unnamed", "KPopupMenu"));
|
|
|
|
this->setPopup(popup);
|
|
|
|
this->setPopup(popup);
|
|
|
|