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
wilder-5.14
David Edmundson 12 years ago
parent 0d6f120820
commit 5284a6b0b1
  1. 2
      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();

Loading…
Cancel
Save