summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIain <qt-info@nokia.com>2009-08-20 18:44:20 (GMT)
committerIain <qt-info@nokia.com>2009-08-20 18:44:20 (GMT)
commit6c2cabdc96c48637b18a1cb294d38e4ddb2f280d (patch)
tree690c1af4008b8a60e301b757e38aab85518e8c92 /src
parent63a6395e6bd24a3bd11425c6a978a111f53ebf99 (diff)
downloadQt-6c2cabdc96c48637b18a1cb294d38e4ddb2f280d.zip
Qt-6c2cabdc96c48637b18a1cb294d38e4ddb2f280d.tar.gz
Qt-6c2cabdc96c48637b18a1cb294d38e4ddb2f280d.tar.bz2
Fix build problem when Q_WS_S60 is undefined
Reviewed-by: Jason Barron
Diffstat (limited to 'src')
-rw-r--r--src/gui/styles/qs60style_s60.cpp2
1 files changed, 2 insertions, 0 deletions
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