Mercurial > hg > easyhg
comparison src/mainwindow.cpp @ 594:825a457f6415
Inconsequential fix to toolbar addition
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2012 13:31:52 +0100 |
parents | fa242885a233 |
children | 10ef94e51f44 54ca6a0e9aef |
comparison
equal
deleted
inserted
replaced
593:40b40c193eaa | 594:825a457f6415 |
---|---|
3038 #ifdef Q_OS_WIN32 | 3038 #ifdef Q_OS_WIN32 |
3039 spacer = " "; | 3039 spacer = " "; |
3040 #endif | 3040 #endif |
3041 #endif | 3041 #endif |
3042 | 3042 |
3043 m_workFolderToolBar = addToolBar(tr("Work")); | 3043 m_workFolderToolBar = new QToolBar(tr("Work")); |
3044 addToolBar(Qt::LeftToolBarArea, m_workFolderToolBar); | 3044 addToolBar(Qt::LeftToolBarArea, m_workFolderToolBar); |
3045 m_workFolderToolBar->setIconSize(QSize(sz, sz)); | 3045 m_workFolderToolBar->setIconSize(QSize(sz, sz)); |
3046 if (spacingReqd) { | 3046 if (spacingReqd) { |
3047 QWidget *w = new QWidget; | 3047 QWidget *w = new QWidget; |
3048 w->setFixedHeight(6); | 3048 w->setFixedHeight(6); |