]> cloud.milkyroute.net Git - dolphin.git/commitdiff
The Oxygen style provides now a nicer progress bar -> increase the content height...
authorPeter Penz <peter.penz19@gmail.com>
Tue, 20 May 2008 18:17:20 +0000 (18:17 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 20 May 2008 18:17:20 +0000 (18:17 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=810430

src/dolphinstatusbar.cpp

index df67ac28f5fef43339b8a7993c1a0971f7f0d8e2..84012e4380b06f5d7ec39cb30482b56edbccde4d 100644 (file)
@@ -51,8 +51,8 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent, const KUrl& url) :
     m_progressBar = new QProgressBar(this);
     m_progressBar->hide();
 
-    const int contentHeight = QFontMetrics(m_messageLabel->font()).height();
-    const int barHeight = contentHeight + 8;
+    const int contentHeight = QFontMetrics(m_messageLabel->font()).height() + 4;
+    const int barHeight = contentHeight + 4;
 
     setMinimumHeight(barHeight);
     m_messageLabel->setMinimumTextHeight(barHeight);