From 6c2cabdc96c48637b18a1cb294d38e4ddb2f280d Mon Sep 17 00:00:00 2001 From: Iain Date: Thu, 20 Aug 2009 20:44:20 +0200 Subject: Fix build problem when Q_WS_S60 is undefined Reviewed-by: Jason Barron --- src/gui/styles/qs60style_s60.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp index 85f0ae4..bc218cd 100644 --- a/src/gui/styles/qs60style_s60.cpp +++ b/src/gui/styles/qs60style_s60.cpp @@ -1358,6 +1358,7 @@ QS60Style::QS60Style() { } +#ifdef Q_WS_S60 void QS60StylePrivate::handleDynamicLayoutVariantSwitch() { clearCaches(QS60StylePrivate::CC_LayoutChange); @@ -1379,6 +1380,7 @@ void QS60StylePrivate::handleSkinChange() topLevelWidget->ensurePolished(); } } +#endif // Q_WS_S60 QT_END_NAMESPACE -- cgit v0.12