diff options
-rw-r--r-- | plugin/simplestyle.cpp | 5 |
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: |