summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qlibrary_p.h
diff options
context:
space:
mode:
authorLukas Geyer <lgeyer@gmx.at>2012-08-25 01:06:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 07:56:40 +0200
commitf61d02deeae522c410433a3aa9929e246f413cda (patch)
tree0164052877cf21e6d94d21377e556c3e0d6c0148 /src/corelib/plugin/qlibrary_p.h
parent32efe589a39989d81e303219074958181ef44ff4 (diff)
Plugin metadata is now updated in setFileName(), not load().
Plugin metadata has been updated in load(), with the side-effect of metadata not beeing available until plugin has been loaded - and which the new metadata system tries to prevent in the first place. The metadata is now updated (and avaiable) as soon as a valid filename is set. Change-Id: Ia5aedc67d8115e71c2ecbcbcadf786ba1c2893d8 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/plugin/qlibrary_p.h')
-rw-r--r--src/corelib/plugin/qlibrary_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/plugin/qlibrary_p.h b/src/corelib/plugin/qlibrary_p.h
index 965f1d26bd..82c3cd9791 100644
--- a/src/corelib/plugin/qlibrary_p.h
+++ b/src/corelib/plugin/qlibrary_p.h
@@ -103,6 +103,7 @@ public:
QString errorString;
QLibrary::LoadHints loadHints;
+ void updatePluginState();
bool isPlugin();
static inline QJsonDocument fromRawMetaData(const char *raw) {