Commit c993b6ce authored by Vincent Pinon's avatar Vincent Pinon

Fix all icons failing to load

(theme path reset by Kirigami < 5.60)

FIX: 408386
parent a4a3a73a
......@@ -42,6 +42,7 @@
#include "kdenlive_debug.h"
#include <KDBusService>
#include <KIconTheme>
#include <kiconthemes_version.h>
#include <QResource>
#include <QApplication>
#include <QCommandLineOption>
......@@ -149,6 +150,10 @@ int main(int argc, char *argv[])
KConfigGroup cg(config, "UiSettings");
cg.writeEntry("ColorScheme", "Breeze Dark");
}
#if KICONTHEMES_VERSION < QT_VERSION_CHECK(5,60,0)
// work around bug in Kirigami2 resetting icon theme path
qputenv("XDG_CURRENT_DESKTOP","KDE");
#endif
// Init DBus services
KDBusService programDBusService;
......
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