Changeset View
Changeset View
Standalone View
Standalone View
src/platformtheme/khintssettings.cpp
Context not available. | |||||
34 | #include <QGuiApplication> | 34 | #include <QGuiApplication> | ||
---|---|---|---|---|---|
35 | #include <QDialogButtonBox> | 35 | #include <QDialogButtonBox> | ||
36 | #include <QScreen> | 36 | #include <QScreen> | ||
37 | #include <QStandardPaths> | ||||
37 | 38 | | |||
38 | #include <QDBusConnection> | 39 | #include <QDBusConnection> | ||
39 | #include <QDBusInterface> | 40 | #include <QDBusInterface> | ||
Context not available. | |||||
168 | { | 169 | { | ||
169 | QStringList paths; | 170 | QStringList paths; | ||
170 | 171 | | |||
172 | // make sure we have ~/.local/share/icons in paths if it exists | ||||
173 | paths << QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("icons"), QStandardPaths::LocateDirectory); | ||||
174 | | ||||
171 | const QFileInfo homeIconDir(QDir::homePath() + QStringLiteral("/.icons")); | 175 | const QFileInfo homeIconDir(QDir::homePath() + QStringLiteral("/.icons")); | ||
172 | if (homeIconDir.isDir()) { | 176 | if (homeIconDir.isDir()) { | ||
173 | paths << homeIconDir.absoluteFilePath(); | 177 | paths << homeIconDir.absoluteFilePath(); | ||
Context not available. |