diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2019-08-25 05:10:15 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2019-08-25 05:10:15 +0200 |
commit | 4c31900d665bd2c5618157fc4fdc8987616d9531 (patch) | |
tree | 39957881279ca32a70ea567ea9f203c32a94b018 /src/core/kconfig.cpp | |
parent | a79ddf8dd380d115450c0d2f8a972920682eeb0c (diff) | |
download | kconfig-4c31900d665bd2c5618157fc4fdc8987616d9531.tar.gz kconfig-4c31900d665bd2c5618157fc4fdc8987616d9531.tar.bz2 |
Use more initializer lists
GIT_SILENT
Diffstat (limited to 'src/core/kconfig.cpp')
-rw-r--r-- | src/core/kconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index 67c0b469..1b3f082b 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -520,7 +520,7 @@ void KConfig::checkUpdate(const QString &id, const QString &updateFile) const QString cfg_id = updateFile + QLatin1Char(':') + id; const QStringList ids = cg.readEntry("update_info", QStringList()); if (!ids.contains(cfg_id)) { - QProcess::execute(QStringLiteral(KCONF_UPDATE_INSTALL_LOCATION), QStringList() << QStringLiteral("--check") << updateFile); + QProcess::execute(QStringLiteral(KCONF_UPDATE_INSTALL_LOCATION), QStringList { QStringLiteral("--check"), updateFile }); reparseConfiguration(); } } |