summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-27 23:32:01 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-27 23:32:01 -0500
commit4eb88cc2efae24dda96b383f42f82d4033a47cc2 (patch)
tree69881f86305213bdc6b81ade27c1e17031efa459
parentb59fdf2c21b2b13c0dfc362a40182759af057343 (diff)
downloadqt4-tqt-theme-engine-4eb88cc2efae24dda96b383f42f82d4033a47cc2.tar.gz
qt4-tqt-theme-engine-4eb88cc2efae24dda96b383f42f82d4033a47cc2.zip
Fix a few graphical glitches
-rw-r--r--plugin/simplestyle.cpp5
1 files 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<const QStyleOptionFrame*>(opt)->lineWidth, static_cast<const QStyleOptionFrame*>(opt)->midLineWidth);
break;
case QStyle::PE_PanelButtonBevel:
+ sflags = convertQt4ToTQt3SFlags(opt->state, TQT3WT_TQPushButton);
tqtPE = TQStyle::PE_ButtonBevel;
break;
case QStyle::PE_FrameLineEdit: