Fix 'format not a string literal' error.

Thanks to Serghei Amelian.
(cherry picked from commit 9e417b6bd5)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent 3bdf3dc220
commit efed2ff495

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

Loading…
Cancel
Save