Warning, /graphics/digikam/project/bundles/3rdparty/ext_kf6/kservice-sycoca.patch is written in an unsupported language. File is not indexed.

0001 diff --git a/src/sycoca/ksycoca.cpp b/src/sycoca/ksycoca.cpp
0002 index 05cb32c1..b6b3da78 100644
0003 --- a/src/sycoca/ksycoca.cpp
0004 +++ b/src/sycoca/ksycoca.cpp
0005 @@ -683,22 +683,9 @@ bool KSycocaPrivate::buildSycoca()
0006  
0007  QString KSycoca::absoluteFilePath()
0008  {
0009 -    const QStringList paths = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation);
0010 -    QString suffix = QLatin1Char('_') + QLocale().bcp47Name();
0011 -
0012 -    const QByteArray ksycoca_env = qgetenv("KDESYCOCA");
0013 -    if (ksycoca_env.isEmpty()) {
0014 -        const QByteArray pathHash = QCryptographicHash::hash(paths.join(QLatin1Char(':')).toUtf8(), QCryptographicHash::Sha1);
0015 -        suffix += QLatin1Char('_') + QString::fromLatin1(pathHash.toBase64());
0016 -        suffix.replace(QLatin1Char('/'), QLatin1Char('_'));
0017 -#ifdef Q_OS_WIN
0018 -        suffix.replace(QLatin1Char(':'), QLatin1Char('_'));
0019 -#endif
0020 -        const QString fileName = QLatin1String("ksycoca6") + suffix;
0021 -        return QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QLatin1Char('/') + fileName;
0022 -    } else {
0023 -        return QFile::decodeName(ksycoca_env);
0024 -    }
0025 +    return QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) +
0026 +                                            QLatin1Char('/')                      +
0027 +                                            QLatin1String("ksycoca_digikam");
0028  }
0029  
0030  QStringList KSycoca::allResourceDirs()