Drop TQT_NO_COMPAT code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head
Michele Calgaro 11 months ago
parent a1b598c8a3
commit 9f0e52d96c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;

Loading…
Cancel
Save