]> git.sesse.net Git - kdenlive/commitdiff
Fix display of job info label when animation is disabled
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 19 Dec 2011 18:03:26 +0000 (19:03 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 19 Dec 2011 18:03:26 +0000 (19:03 +0100)
src/projectlist.cpp

index 2e4bfac0db01a90537f1ea98d5a10672f6894b06..38391bd26143cb9c693d71b50478c80978759faa 100644 (file)
@@ -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;
         }