From f4a20352864856a7d9161ac975143b1df4ed5434 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 15 Jun 2023 19:59:58 +0900 Subject: Drop TQT_NO_COMPAT code Signed-off-by: Michele Calgaro (cherry picked from commit 9f0e52d96c551916d493950a9247c7d1488cff67) --- style/baghira.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/style/baghira.cpp b/style/baghira.cpp index 363c1ee..621e84b 100644 --- a/style/baghira.cpp +++ b/style/baghira.cpp @@ -1,10 +1,3 @@ -/* - * This source code refers to the MacStyle style. It is marked as obsolete - * in tqnamespace.h and is not defined when TQT_NO_COMPAT is set. - * Therefore, TQT_NO_COMPAT is forced to be canceled here. -*/ -#undef TQT_NO_COMPAT - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -2893,10 +2886,6 @@ int LiquidStyle::styleHint(StyleHint sh, { switch (sh) { - case TQStyle::SH_GUIStyle: - // if (w && ::tqt_cast(w)) - // return WindowsStyle; - return MacStyle; case TQStyle::SH_TabBar_Alignment: if (optionHandler->CenterTabs() && !TQApplication::reverseLayout()) return AlignHCenter; -- cgit v1.2.1