summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_button.cpp')
-rw-r--r--src/modules/objects/class_button.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/objects/class_button.cpp b/src/modules/objects/class_button.cpp
index a23dcda1..d5d13717 100644
--- a/src/modules/objects/class_button.cpp
+++ b/src/modules/objects/class_button.cpp
@@ -147,18 +147,10 @@ bool KviKvsObject_button::functionSetImage(KviKvsObjectFunctionCall *c)
if (!widget()) return true;
TQPixmap * pix = g_pIconManager->getImage(icon);
if(pix){
- #ifdef COMPILE_USE_QT4
- ((TQPushButton *)widget())->setIconSet(*pix);
- #else
((TQPushButton *)widget())->setIconSet(TQIconSet(*pix,TQIconSet::Small));
- #endif
}
else{
- #ifdef COMPILE_USE_QT4
- ((TQPushButton *)widget())->setIcon(TQIconSet());
- #else
((TQPushButton *)widget())->setIconSet(TQIconSet());
- #endif
}
return true;
}