From 65321cf4e53b7b6194c30311c9f1dfba0b71045a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 22 Jul 2013 16:19:38 +0200 Subject: [PATCH] Drop qtBefore483() helper method No longer needed with Qt 5. --- client.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/client.cpp b/client.cpp index dd5fdffaec..ebcec9929b 100644 --- a/client.cpp +++ b/client.cpp @@ -355,22 +355,8 @@ void Client::destroyClient() deleteClient(this); } -// DnD handling for input shaping is broken in the clients for all Qt versions before 4.8.3 -// NOTICE do not query the Qt version macro, this is a runtime problem! -// TODO KDE5 remove this -static inline bool qtBefore483() -{ - QStringList l = QString(qVersion()).split("."); - // "4.x.y" - return l.at(1).toUInt() < 5 && l.at(1).toUInt() < 9 && l.at(2).toUInt() < 3; -} - void Client::updateInputWindow() { - static bool brokenQtInputHandling = qtBefore483(); - if (brokenQtInputHandling) - return; - QRegion region; if (!noBorder()) {