diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-15 19:59:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-15 19:59:58 +0900 |
commit | 9f0e52d96c551916d493950a9247c7d1488cff67 (patch) | |
tree | 5a81987df009e6c1b0365901487fec5ce6bf3ee3 | |
parent | a1b598c8a3569efadf543075c329203e031e154e (diff) | |
download | tde-style-baghira-9f0e52d96c551916d493950a9247c7d1488cff67.tar.gz tde-style-baghira-9f0e52d96c551916d493950a9247c7d1488cff67.zip |
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | style/baghira.cpp | 11 |
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; |