From 081f559031fed7cde755e006b226cf06f33bd0f8 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 1 Feb 2021 01:03:40 +0200 Subject: General code cleanup Fix some clazy warnings, and some other minor code optimisations. NO_CHANGELOG --- src/core/kconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/kconfig.cpp') diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index 2a3c614f..04608b0d 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -742,7 +742,7 @@ void KConfigPrivate::parseConfigFiles() files << mBackend->filePath(); } if (!isSimple()) { - files = extraFiles.toList() + files; + files = QList(extraFiles.cbegin(), extraFiles.cend()) + files; } // qDebug() << "parsing local files" << files; -- cgit v1.2.1