aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_lcd.cpp
diff options
context:
space:
mode:
authorGravatar wodim2016-04-07 13:00:54 +0200
committerGravatar wodim2016-04-07 13:00:54 +0200
commit22ca84d4d22ed7e39c626981e5ae85e9287c3edb (patch)
tree5bf35583a38fadbcef5ddd37705618b1e79f67af /src/modules/objects/KvsObject_lcd.cpp
parentFix #1921 (diff)
downloadKVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.tar.gz
KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.tar.bz2
KVIrc-22ca84d4d22ed7e39c626981e5ae85e9287c3edb.zip
Remove all ifdefs related to older versions of Qt.
Now that we only support Qt 5 we will no longer need these.
Diffstat (limited to 'src/modules/objects/KvsObject_lcd.cpp')
-rw-r--r--src/modules/objects/KvsObject_lcd.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/objects/KvsObject_lcd.cpp b/src/modules/objects/KvsObject_lcd.cpp
index b770a1ac5..39c8f3489 100644
--- a/src/modules/objects/KvsObject_lcd.cpp
+++ b/src/modules/objects/KvsObject_lcd.cpp
@@ -164,11 +164,7 @@ KVSO_CLASS_FUNCTION(lcd,setNumDigits)
KVSO_PARAMETERS_BEGIN(c)
KVSO_PARAMETER("digit",KVS_PT_DOUBLE,0,digit)
KVSO_PARAMETERS_END(c)
-#if (QT_VERSION >= 0x050000)
((QLCDNumber *)widget())->setDigitCount((int)digit);
-#else
- ((QLCDNumber *)widget())->setNumDigits((int)digit);
-#endif
return true;
}