diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2021-12-18 20:51:03 +0200 | 
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-12-18 20:51:03 +0200 | 
| commit | eac8e43e25717fcef579a25bd40d777fc5556255 (patch) | |
| tree | 7d7538c116c107441ce743f64f4a6d3e9152fed2 | |
| parent | 428261e2932e9413b1ed5322848e8df067f59ee1 (diff) | |
| download | kconfig-eac8e43e25717fcef579a25bd40d777fc5556255.tar.gz kconfig-eac8e43e25717fcef579a25bd40d777fc5556255.tar.bz2 | |
Complete fixing the Windows CI
| -rw-r--r-- | src/core/kdesktopfile.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp index aa510dec..95645a63 100644 --- a/src/core/kdesktopfile.cpp +++ b/src/core/kdesktopfile.cpp @@ -133,7 +133,7 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path)      const QString servicesDir = QStringLiteral("kservices5/"); // KGlobal::dirs()->xdgDataRelativePath("services")      const QStringList genericData = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation); -    auto genericIt = std::find_if(genericData.cbegin(), genericData.cend(), [&realPath, &servicesDir](const QString &xdgDataPrefix) { +    auto genericIt = std::find_if(genericData.cbegin(), genericData.cend(), [&realPath, &servicesDir, sensitivity](const QString &xdgDataPrefix) {          QFileInfo info(xdgDataPrefix);          if (info.exists() && info.isDir()) {              const QString prefix = info.canonicalFilePath(); @@ -147,7 +147,7 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path)      const QString autostartDir = QStringLiteral("autostart/");      const QStringList lstConfigPath = QStandardPaths::standardLocations(QStandardPaths::GenericConfigLocation); -    auto configIt = std::find_if(lstConfigPath.cbegin(), lstConfigPath.cend(), [&realPath, &autostartDir](const QString &xdgDataPrefix) { +    auto configIt = std::find_if(lstConfigPath.cbegin(), lstConfigPath.cend(), [&realPath, &autostartDir, sensitivity](const QString &xdgDataPrefix) {          QFileInfo info(xdgDataPrefix);          if (info.exists() && info.isDir()) {              const QString prefix = info.canonicalFilePath(); | 
