Commit e13c6c9e authored by David Faure's avatar David Faure
Browse files

Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation

They are the same on Linux (but DataLocation is deprecated). On Windows this enables the use of the roaming path.

NO_CHANGELOG
parent 77cf9469
......@@ -24,7 +24,7 @@
#include <QStandardPaths>
#define IMAGE_SPLASH QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("pics/konquest-splash.png"))
#define IMAGES_SVG QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("pics/default_theme.svgz"))
#define IMAGE_SPLASH QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("pics/konquest-splash.png"))
#define IMAGES_SVG QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("pics/default_theme.svgz"))
#endif // KONQUEST_IMAGES_H
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