summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-06-15 19:59:58 +0900
committerMichele Calgaro <[email protected]>2023-06-15 19:59:58 +0900
commit9f0e52d96c551916d493950a9247c7d1488cff67 (patch)
tree5a81987df009e6c1b0365901487fec5ce6bf3ee3 /style
parenta1b598c8a3569efadf543075c329203e031e154e (diff)
downloadtde-style-baghira-9f0e52d96c551916d493950a9247c7d1488cff67.tar.gz
tde-style-baghira-9f0e52d96c551916d493950a9247c7d1488cff67.zip
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'style')
-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;