From 5284a6b0b142ce7ead2ebbb0344e56fbf64ad6b4 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 1 Oct 2014 21:23:20 +0200 Subject: [PATCH] Set OSD Value before we toggle whether progress bar is shown or not This prevents file:///usr/share/plasma/look-and- feel/org.kde.breeze.desktop/contents/osd/Osd.qml:93:20: Unable to assign QString to double BUG: 339581 --- shell/osd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/osd.cpp b/shell/osd.cpp index 39b482dcf..5a675864f 100644 --- a/shell/osd.cpp +++ b/shell/osd.cpp @@ -115,8 +115,8 @@ void Osd::showProgress(const QString &icon, const int percent, const QString &ad void Osd::showText(const QString &icon, const QString &text) { - m_osdObject->rootObject()->setProperty("osdValue", text); m_osdObject->rootObject()->setProperty("showingProgress", false); + m_osdObject->rootObject()->setProperty("osdValue", text); m_osdObject->rootObject()->setProperty("icon", icon); showOsd();