mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kdecore: do not deep-copy the QString object in KComponentDataPrivate::lazyInit()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5e303b4d16
commit
fe35aa9f3d
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,8 @@ void KComponentDataPrivate::lazyInit(const KComponentData &component)
|
|||
// the first KComponentData sets the KDE Qt plugin paths
|
||||
if (dirs && kdeLibraryPathsAdded != KdeLibraryPathsAddedDone) {
|
||||
kdeLibraryPathsAdded = KdeLibraryPathsAddedDone;
|
||||
const QStringList &plugins = dirs->resourceDirs("qtplugins");
|
||||
foreach (const QString it, plugins) {
|
||||
const QStringList plugins = dirs->resourceDirs("qtplugins");
|
||||
foreach (const QString &it, plugins) {
|
||||
QCoreApplication::addLibraryPath(it);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue