diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-02 11:24:36 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-12-23 05:07:43 +0100 |
commit | efed2ff495d3fb3e3e548e5319d4b5613c032001 (patch) | |
tree | e561beb1a708a8ff4d86ff06e361b6b015ce81e5 | |
parent | 3bdf3dc2205539349446a4b5453ee18ab4a9eb31 (diff) | |
download | tdewebdev-efed2ff495d3fb3e3e548e5319d4b5613c032001.tar.gz tdewebdev-efed2ff495d3fb3e3e548e5319d4b5613c032001.zip |
Fix 'format not a string literal' error.
Thanks to Serghei Amelian.
(cherry picked from commit 9e417b6bd5d2633cfbcddf8c0359bb0731823cbc)
-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 e3d89f4d..5be7a0f2 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); |