summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qpluginloader.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2012-04-30 14:26:41 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-02 11:14:09 +0200
commit36b3a6ad3818b6c8d0849d5e5d63de22c2a2a430 (patch)
tree209a6267ce8ca7a05ae5f9a46b37e6c8255cfbc9 /src/corelib/plugin/qpluginloader.h
parentbcd477e0bc48bb028193d7707d1ecfbd61b5bdc1 (diff)
Fix compilation of public headers with QT_NO_DEPRECATED defined
Put the functions in QT_DEPRECATED_SINCE if possible QPluginLoader::staticInstances is not documented as deprecated, and do not reference any alternative use. So I unmarked it as deprecated. Change-Id: I556c3f3657fb0490dd5543fcc56718fe9bd394e7 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/corelib/plugin/qpluginloader.h')
-rw-r--r--src/corelib/plugin/qpluginloader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qpluginloader.h b/src/corelib/plugin/qpluginloader.h
index 6ca1892fa9..0e62d3660b 100644
--- a/src/corelib/plugin/qpluginloader.h
+++ b/src/corelib/plugin/qpluginloader.h
@@ -69,7 +69,7 @@ public:
QObject *instance();
- QT_DEPRECATED static QObjectList staticInstances();
+ static QObjectList staticInstances();
bool load();
bool unload();