summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylefactory.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-05-27 07:41:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-08 21:34:45 +0200
commit09992c654db860b22d6b109707462346bfb5ca26 (patch)
treefb4fe67c0c15b8366ae36acf76ac61af9c9a1975 /src/widgets/styles/qstylefactory.cpp
parent20c7fa62caad8f93e3cfa81bcbfed4b753c3e92c (diff)
Remove QFactoryInterface from style plugins
Change-Id: I5c41f1c8b91b5e1117b9163c137de4bf5f51099c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/styles/qstylefactory.cpp')
-rw-r--r--src/widgets/styles/qstylefactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/styles/qstylefactory.cpp b/src/widgets/styles/qstylefactory.cpp
index ec29ae7b99..479cc1aab9 100644
--- a/src/widgets/styles/qstylefactory.cpp
+++ b/src/widgets/styles/qstylefactory.cpp
@@ -182,7 +182,7 @@ QStyle *QStyleFactory::create(const QString& key)
{ } // Keep these here - they make the #ifdefery above work
#if !defined(QT_NO_LIBRARY) && !defined(QT_NO_SETTINGS)
if (!ret)
- ret = qLoadPlugin<QStyle, QStyleFactoryInterface>(loader(), style);
+ ret = qLoadPlugin<QStyle, QStylePlugin>(loader(), style);
#endif
if(ret)
ret->setObjectName(style);