changeset 442:ff2306c67852

Minor tidy
author Chris Cannam
date Tue, 28 Jun 2011 14:33:44 +0100
parents b616c9c6cfd2
children 459b140032d4
files src/mainwindow.cpp
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/mainwindow.cpp	Tue Jun 28 14:15:42 2011 +0100
+++ b/src/mainwindow.cpp	Tue Jun 28 14:33:44 2011 +0100
@@ -2943,22 +2943,24 @@
 
 void MainWindow::createToolBars()
 {
+    int sz = 32;
+
     m_fileToolBar = addToolBar(tr("File"));
-    m_fileToolBar->setIconSize(QSize(MY_ICON_SIZE, MY_ICON_SIZE));
+    m_fileToolBar->setIconSize(QSize(sz, sz));
     m_fileToolBar->addAction(m_openAct);
     m_fileToolBar->addAction(m_hgRefreshAct);
     m_fileToolBar->setMovable(false);
 
-    m_repoToolBar = addToolBar(tr(REPOMENU_TITLE));
-    m_repoToolBar->setIconSize(QSize(MY_ICON_SIZE, MY_ICON_SIZE));
+    m_repoToolBar = addToolBar(tr("Remote"));
+    m_repoToolBar->setIconSize(QSize(sz, sz));
     m_repoToolBar->addAction(m_hgIncomingAct);
     m_repoToolBar->addAction(m_hgPullAct);
     m_repoToolBar->addAction(m_hgPushAct);
     m_repoToolBar->setMovable(false);
 
-    m_workFolderToolBar = addToolBar(tr(WORKFOLDERMENU_TITLE));
+    m_workFolderToolBar = addToolBar(tr("Work"));
     addToolBar(Qt::LeftToolBarArea, m_workFolderToolBar);
-    m_workFolderToolBar->setIconSize(QSize(MY_ICON_SIZE, MY_ICON_SIZE));
+    m_workFolderToolBar->setIconSize(QSize(sz, sz));
     m_workFolderToolBar->addAction(m_hgFolderDiffAct);
     m_workFolderToolBar->addSeparator();
     m_workFolderToolBar->addAction(m_hgRevertAct);