diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-02 11:24:36 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-02 11:24:36 -0500 |
commit | 9e417b6bd5d2633cfbcddf8c0359bb0731823cbc (patch) | |
tree | efc0f47e797c61dcc4d801e87bd23ff81c83422d /kommander/widgets | |
parent | 27ccd2aacf0aa799d4adca6b3bf1457ce24e2592 (diff) | |
download | tdewebdev-9e417b6bd5d2633cfbcddf8c0359bb0731823cbc.tar.gz tdewebdev-9e417b6bd5d2633cfbcddf8c0359bb0731823cbc.zip |
Fix 'format not a string literal' error.
Thanks to Serghei Amelian.
Diffstat (limited to 'kommander/widgets')
-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); |