From 4eb88cc2efae24dda96b383f42f82d4033a47cc2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 27 Sep 2012 23:32:01 -0500 Subject: [PATCH] Fix a few graphical glitches --- plugin/simplestyle.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/simplestyle.cpp b/plugin/simplestyle.cpp index b20c2bd..f752f85 100644 --- a/plugin/simplestyle.cpp +++ b/plugin/simplestyle.cpp @@ -1591,12 +1591,12 @@ TQWidget* Qt4TDEStyle::initializeInterfaceWidget(TQt3WidgetType wt, const QWidge || (wt == TQT3WT_TQRadioButton) || (wt == TQT3WT_TQCheckBox) || (wt == TQT3WT_TQPopupMenu) - || (wt == TQT3WT_TQComboBox) + //|| (wt == TQT3WT_TQComboBox) //|| (wt == TQT3WT_TQSlider) //|| (wt == TQT3WT_TQScrollBar) //|| (wt == TQT3WT_TQSpinBox) //|| (wt == TQT3WT_TQSpinWidget) - || (wt == TQT3WT_TQTitleBar) + //|| (wt == TQT3WT_TQTitleBar) || (wt == TQT3WT_TQMenuBar) || (wt == TQT3WT_TQToolBox) || (wt == TQT3WT_TQToolButton)) { @@ -2920,6 +2920,7 @@ void Qt4TDEStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QP tqt3opt = TQStyleOption(static_cast(opt)->lineWidth, static_cast(opt)->midLineWidth); break; case QStyle::PE_PanelButtonBevel: + sflags = convertQt4ToTQt3SFlags(opt->state, TQT3WT_TQPushButton); tqtPE = TQStyle::PE_ButtonBevel; break; case QStyle::PE_FrameLineEdit: