plasma: set the opacity of TasksSvg to zero before showing it

to smooth the transition

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-01 07:41:47 +03:00
parent b5901bd578
commit 1dfcde2841

View file

@ -173,6 +173,7 @@ WId TasksSvg::task() const
void TasksSvg::animatedShow()
{
setOpacity(0.0);
show();
Plasma::Animation *animation = Plasma::Animator::create(Plasma::Animator::FadeAnimation, this);
Q_ASSERT(animation != nullptr);