[OSD] Don't unset the icon when it hides

IconItem is now smart enough to not animate from the previous pixmap if it was hidden
wilder-5.14
Kai Uwe Broulik 10 years ago
parent 229b8106a9
commit 6bebee619f
  1. 1
      shell/osd.cpp

@ -174,6 +174,5 @@ void Osd::hideOsd()
rootObject->setProperty("visible", false);
// this is needed to prevent fading from "old" values when the OSD shows up
rootObject->setProperty("icon", "");
rootObject->setProperty("osdValue", 0);
}

Loading…
Cancel
Save