From 014f6d2586905e03681aa6fb9a85c2c8190e53f4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 27 Aug 2023 21:28:15 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro --- twin/main.cpp | 4 ---- twin/utils.cpp | 4 ---- 2 files changed, 8 deletions(-) (limited to 'twin') diff --git a/twin/main.cpp b/twin/main.cpp index 4fd81d245..e3e3c6ea3 100644 --- a/twin/main.cpp +++ b/twin/main.cpp @@ -84,10 +84,6 @@ int x11ErrorHandler(Display *d, XErrorEvent *e) Application::Application( ) : TDEApplication( ), owner( screen_number ) { -#ifdef USE_QT4 - // I'm special... - setQuitOnLastWindowClosed(false); -#endif // USE_QT4 TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); if (!config()->isImmutable() && args->isSet("lock")) { diff --git a/twin/utils.cpp b/twin/utils.cpp index e7e5c7d32..949893a74 100644 --- a/twin/utils.cpp +++ b/twin/utils.cpp @@ -37,10 +37,6 @@ License. See the file "COPYING" for the exact licensing terms. #include "atoms.h" #include "notifications.h" -#ifdef USE_QT4 -#include -#endif // USE_QT4 - #endif namespace KWinInternal -- cgit v1.2.1