summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-15 19:59:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-16 10:34:26 +0900
commitf4a20352864856a7d9161ac975143b1df4ed5434 (patch)
tree265ce5019eb31f8b619b874973fda4a514908ab1
parentce4fd3080bf62ff9da29a8dde1ca3afe27376af1 (diff)
downloadtde-style-baghira-f4a20352864856a7d9161ac975143b1df4ed5434.tar.gz
tde-style-baghira-f4a20352864856a7d9161ac975143b1df4ed5434.zip
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9f0e52d96c551916d493950a9247c7d1488cff67)
-rw-r--r--style/baghira.cpp11
1 files changed, 0 insertions, 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<TQMenuBar*>(w))
- // return WindowsStyle;
- return MacStyle;
case TQStyle::SH_TabBar_Alignment:
if (optionHandler->CenterTabs() && !TQApplication::reverseLayout())
return AlignHCenter;