From 030a2248f3630fd0404df98beffc78b5b5ca4c31 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 24 Aug 2023 21:28:39 +0900 Subject: Drop USE_QT4 code Signed-off-by: Michele Calgaro --- src/modules/file/libkvifile.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/modules/file/libkvifile.cpp') diff --git a/src/modules/file/libkvifile.cpp b/src/modules/file/libkvifile.cpp index 009340f9..a032dc6a 100644 --- a/src/modules/file/libkvifile.cpp +++ b/src/modules/file/libkvifile.cpp @@ -629,11 +629,7 @@ static bool file_kvs_fnc_ls(KviKvsModuleFunctionCall * c) return true; } -#ifdef COMPILE_USE_QT4 - TQFlags iFlags = 0; -#else int iFlags = 0; -#endif if(szFlags.isEmpty())iFlags = TQDir::Dirs | TQDir::Files | TQDir::NoSymLinks | TQDir::Readable | TQDir::Writable | TQDir::Executable | TQDir::Hidden | TQDir::System; else { if(szFlags.find('d',false) != -1)iFlags |= TQDir::Dirs; @@ -645,11 +641,7 @@ static bool file_kvs_fnc_ls(KviKvsModuleFunctionCall * c) if(szFlags.find('h',false) != -1)iFlags |= TQDir::Hidden; if(szFlags.find('s',false) != -1)iFlags |= TQDir::System; } -#ifdef COMPILE_USE_QT4 - TQFlags iSort = 0; -#else int iSort = 0; -#endif if(szFlags.isEmpty())iSort = TQDir::Unsorted; else { if(szFlags.find('n',false) != -1)iSort |= TQDir::Name; -- cgit v1.2.1