diff options
author | Michele Calgaro <[email protected]> | 2023-10-18 13:32:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-10-18 13:32:54 +0900 |
commit | 3031fcead54a66aa68b0653e35ef59fbae9e442f (patch) | |
tree | 4593183ce2c50ebd1320293a03e0bfd797e9f1f4 /client/fahrenheitclient.cc | |
parent | e952c17a7ce96d686b0ad54cb8d693bf137d6759 (diff) | |
download | twin-style-fahrenheit-3031fcead54a66aa68b0653e35ef59fbae9e442f.tar.gz twin-style-fahrenheit-3031fcead54a66aa68b0653e35ef59fbae9e442f.zip |
Add cmake building files
Signed-off-by: Michele Calgaro <[email protected]>
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); } |