forked from qt-creator/qt-creator
Replace a few occurrences of QStringList() << ...
... by something shorter. Change-Id: I363b4e509adb07997517b2d233246a333aea4aea Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -106,7 +106,7 @@ enum { debugLeaks = 0 };
|
||||
loading.
|
||||
\code
|
||||
// 'plugins' and subdirs will be searched for plugins
|
||||
PluginManager::setPluginPaths(QStringList() << "plugins");
|
||||
PluginManager::setPluginPaths(QStringList("plugins"));
|
||||
PluginManager::loadPlugins(); // try to load all the plugins
|
||||
\endcode
|
||||
Additionally, it is possible to directly access the plugin specifications
|
||||
|
||||
Reference in New Issue
Block a user