From 22ca84d4d22ed7e39c626981e5ae85e9287c3edb Mon Sep 17 00:00:00 2001 From: wodim Date: Thu, 7 Apr 2016 13:00:54 +0200 Subject: Remove all ifdefs related to older versions of Qt. Now that we only support Qt 5 we will no longer need these. --- src/modules/objects/KvsObject_lcd.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/modules/objects/KvsObject_lcd.cpp') 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; } -- cgit v1.3.1-10-gc9f91