changeset 573:da2dd0e290ac

Merge
author Chris Cannam
date Tue, 06 Mar 2012 14:25:09 +0000
parents 88ec0ae91dcc (diff) 012ba1b83328 (current diff)
children f185ac2c49b5
files
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/historywidget.cpp	Thu Mar 01 22:53:54 2012 +0000
+++ b/src/historywidget.cpp	Tue Mar 06 14:25:09 2012 +0000
@@ -252,7 +252,9 @@
         toFocus->ensureVisible();
     }
 
-    updateSearchStatus();
+    if (m_searchText != "") {
+        updateSearchStatus();
+    }
     connectSceneSignals();
 }
 
--- a/src/mainwindow.cpp	Thu Mar 01 22:53:54 2012 +0000
+++ b/src/mainwindow.cpp	Tue Mar 06 14:25:09 2012 +0000
@@ -3061,9 +3061,13 @@
 
     m_repoToolBar = addToolBar(tr("Remote"));
     m_repoToolBar->setIconSize(QSize(sz, sz));
-    m_repoToolBar->addWidget(new QLabel(spacer));
+    if (spacingReqd) {
+        m_repoToolBar->addWidget(new QLabel(spacer));
+    }
     m_repoToolBar->addAction(m_openAct);
-    m_repoToolBar->addWidget(new QLabel(spacer));
+    if (spacingReqd) {
+        m_repoToolBar->addWidget(new QLabel(spacer));
+    }
     m_repoToolBar->addSeparator();
     m_repoToolBar->addAction(m_hgIncomingAct);
     m_repoToolBar->addAction(m_hgPullAct);