diff view/View.cpp @ 385:c0818f064e66

...
author Chris Cannam
date Mon, 12 May 2008 15:30:11 +0000
parents c1e5af9f2c3c
children f329416bf1a5
line wrap: on
line diff
--- a/view/View.cpp	Mon May 12 12:38:59 2008 +0000
+++ b/view/View.cpp	Mon May 12 15:30:11 2008 +0000
@@ -527,10 +527,14 @@
 
     m_layers.push_back(layer);
 
-    m_progressBars[layer] = new LayerProgressBar(this);
+//    m_progressBars[layer] = new LayerProgressBar(this);
+    m_progressBars[layer] = new QProgressBar(this);
     m_progressBars[layer]->setMinimum(0);
     m_progressBars[layer]->setMaximum(100);
-    m_progressBars[layer]->setMinimumWidth(80);
+//    m_progressBars[layer]->setMinimumWidth(80);
+    m_progressBars[layer]->setFixedWidth(80);
+//    m_progressBars[layer]->setText(""); //!!!
+    m_progressBars[layer]->setTextVisible(false);
 
     QFont f(m_progressBars[layer]->font());
     int fs = Preferences::getInstance()->getViewFontSize();