changeset 739:1192963e2d83

Fix #1024 - avoid status bar repainting all its siblings when its message changes (and it resizes) by using a widget in the status bar for the label instead of the bar itself.
author Chris Cannam
date Wed, 02 Jul 2014 15:09:51 +0100
parents 5ebce191aa04
children 4a40726332dd
files .hgsubstate main/MainWindow.cpp
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Tue Jul 01 15:34:11 2014 +0100
+++ b/.hgsubstate	Wed Jul 02 15:09:51 2014 +0100
@@ -1,5 +1,5 @@
 d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay
 3c5adc4a864fa75e5b1e67c260b77541aaa4f1f6 sv-dependency-builds
-20bab95852c1d7cb55541ae32f83210dec91892a svapp
-5bd05a24e32a95a7a347b086d7904be92801586c svcore
-6c52314b31b024777e09ad0e6bc0d329bd87c8e8 svgui
+a7a643988390160d327bc648d7f1748119020922 svapp
+0009b2b066e0276e892e4e0c2e2a4f2876d5f3ac svcore
+db31266cf60662d7f55120d05861e51236bd6ae6 svgui
--- a/main/MainWindow.cpp	Tue Jul 01 15:34:11 2014 +0100
+++ b/main/MainWindow.cpp	Wed Jul 02 15:09:51 2014 +0100
@@ -3934,8 +3934,8 @@
             .arg(startStr).arg(endStr).arg(durationStr);
     }
 
-    if (statusBar()->currentMessage() != m_myStatusMessage) {
-        statusBar()->showMessage(m_myStatusMessage);
+    if (getStatusLabel()->text() != m_myStatusMessage) {
+        getStatusLabel()->setText(m_myStatusMessage);
     }
 
     updatePositionStatusDisplays();