summaryrefslogtreecommitdiff
path: root/src/controls/Private
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2016-03-18 13:59:57 +0100
committerMitch Curtis <mitch.curtis@theqtcompany.com>2016-03-18 14:31:09 +0000
commit767120071bc5934bc428bb58a110d6ba9ebb6efb (patch)
treec52bbeda6b324e6d680f43dc8abba0d74d7b60db /src/controls/Private
parentbc337cc38c3de83a381bccd098d30c038e6318f9 (diff)
downloadqtquickcontrols-767120071bc5934bc428bb58a110d6ba9ebb6efb.tar.gz
Fix unused variable warnings in static builds
The warnings are a result of b4c13916ec0fd7796acdf0ec5a1db0134479b3f2. Change-Id: I0b6a22d0fb3b7258ebfa905015f13d0474ac5b09 Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Diffstat (limited to 'src/controls/Private')
-rw-r--r--src/controls/Private/qquickcontrolsettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp
index d60f3b99..32efd332 100644
--- a/src/controls/Private/qquickcontrolsettings.cpp
+++ b/src/controls/Private/qquickcontrolsettings.cpp
@@ -165,6 +165,8 @@ static QString relativeStyleImportPath(QQmlEngine *engine, const QString &styleN
if (!found)
path = ":/QtQuick/Controls/Styles";
#else
+ Q_UNUSED(engine);
+ Q_UNUSED(styleName);
path = ":/qt-project.org/imports/QtQuick/Controls/Styles";
#endif
return path;