Commit f966fb43 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix initOsd()

parent 5fb14728
......@@ -51,6 +51,10 @@ Osd::~Osd()
bool Osd::initOsd()
{
if (m_osdObject) {
return true;
}
const QString &osdPath = QStandardPaths::locate(QStandardPaths::QStandardPaths::GenericDataLocation, QStringLiteral("kded_kscreen/qml/Osd.qml"));
if (osdPath.isEmpty()) {
qCWarning(KSCREEN_KDED) << "Failed to find OSD QML file" << osdPath;
......
Supports Markdown
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