From: Jean-Baptiste Mardelle Date: Mon, 19 Dec 2011 18:03:26 +0000 (+0100) Subject: Fix display of job info label when animation is disabled X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9507921609fa8b9d04ed3a0d6e0242720e528793;p=kdenlive Fix display of job info label when animation is disabled --- diff --git a/src/projectlist.cpp b/src/projectlist.cpp index 2e4bfac0..38391bd2 100644 --- a/src/projectlist.cpp +++ b/src/projectlist.cpp @@ -119,6 +119,7 @@ void SmallInfoLabel::slotSetJobCount(int jobCount) setToolTip(i18np("%1 pending job", "%1 pending jobs", jobCount)); if (!(KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects)) { + setFixedWidth(sizeHint().width()); show(); return; } @@ -140,6 +141,7 @@ void SmallInfoLabel::slotSetJobCount(int jobCount) } else { if (!(KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects)) { + setFixedWidth(0); hide(); return; }