diff options
Diffstat (limited to 'client/fahrenheitclient.cc')
-rw-r--r-- | client/fahrenheitclient.cc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/client/fahrenheitclient.cc b/client/fahrenheitclient.cc index 3269266..6bd67b2 100644 --- a/client/fahrenheitclient.cc +++ b/client/fahrenheitclient.cc @@ -13,11 +13,11 @@ #include <tdelocale.h> #include <kstandarddirs.h> -#include <ntqbitmap.h> -#include <ntqlabel.h> -#include <ntqlayout.h> -#include <ntqpainter.h> -#include <ntqtooltip.h> +#include <tqbitmap.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqpainter.h> +#include <tqtooltip.h> #include "fahrenheitclient.h" @@ -132,7 +132,10 @@ FahrenheitButton::FahrenheitButton(FahrenheitClient *parent, const char *name, setBackgroundMode(NoBackground); setFixedWidth(16); setCursor(arrowCursor); - if (pixmap) setPixmap(pixmap); + if (!pixmap.isEmpty()) + { + setPixmap(pixmap); + } TQToolTip::add(this, tip); } |