Commit 7b243dad authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Fix search files

parent 340a21a3
......@@ -76,7 +76,9 @@ ChatWindowStyle::ChatWindowStyle(const QString &styleName, const QString &varian
void ChatWindowStyle::init(const QString &styleName, StyleBuildMode styleBuildMode)
{
QStringList styleDirs = QStandardPaths::locateAll(QStandardPaths::DataLocation, QStringLiteral("/styles/%1/Contents/Resources/").arg(styleName));
qDebug() <<" QStandardPaths::locateAll(QStandardPaths::DataLocation" << QStandardPaths::standardLocations(QStandardPaths::DataLocation);
QStringList styleDirs = QStandardPaths::locateAll(QStandardPaths::DataLocation, QStringLiteral("/styles/%1/Contents/Resources/").arg(styleName),
QStandardPaths::LocateDirectory);
if (styleDirs.isEmpty()) {
kDebug(14000) << "Failed to find style" << styleName;
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment