summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/styles/qs60style.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index e7ba1bb..83f5a6b 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -2012,7 +2012,6 @@ void QS60Style::drawPrimitive(PrimitiveElement element, const QStyleOption *opti
#endif //QT_NO_SPINBOX
case PE_FrameFocusRect:
// Calendar widget and combox both do not use styled itemDelegate
-#if not defined (QT_NO_CALENDARWIDGET) && not defined (QT_NO_COMBOBOX)
if (!(widget && qobject_cast<const QCalendarWidget *>(widget->parent())) ||
qobject_cast<const QComboBoxListView *>(widget)) {
// no focus selection for touch
@@ -2041,7 +2040,6 @@ void QS60Style::drawPrimitive(PrimitiveElement element, const QStyleOption *opti
painter->restore();
}
}
-#endif //!QT_NO_CALENDARWIDGET && !QT_NO_COMBOBOX
break;
case PE_Widget:
if (QS60StylePrivate::drawsOwnThemeBackground(widget)