summaryrefslogtreecommitdiff
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-04-03 10:07:48 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-04-03 13:34:23 +0000
commit58bea5210dff23e0e125e91e94e1f933d8329521 (patch)
tree573c8d8823b7016c08beaef84307f941c221eb53 /src/controls/plugin.cpp
parent8c37d58fa21fd3cf6897e2d7d4fe1f73c983d2f4 (diff)
downloadqtquickcontrols-58bea5210dff23e0e125e91e94e1f933d8329521.tar.gz
Remove spurious Q_INIT_RESOURCE calls
These explicit resource initialization calls are only needed when linking statically. Change-Id: I5518e1b32d4fc7c1d03d35dd15bf3ce65d5eafcf Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r--src/controls/plugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp
index 8a79cbe3..bac0d64d 100644
--- a/src/controls/plugin.cpp
+++ b/src/controls/plugin.cpp
@@ -75,8 +75,6 @@ static void initResources()
{
#ifdef QT_STATIC
Q_INIT_RESOURCE(qmake_QtQuick_Controls);
-#else
- Q_INIT_RESOURCE(controls);
#endif
}