changeset 594:825a457f6415

Inconsequential fix to toolbar addition
author Chris Cannam
date Tue, 17 Apr 2012 13:31:52 +0100
parents 40b40c193eaa
children d61c7ad320d9
files src/mainwindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mainwindow.cpp	Tue Apr 17 13:31:30 2012 +0100
+++ b/src/mainwindow.cpp	Tue Apr 17 13:31:52 2012 +0100
@@ -3040,7 +3040,7 @@
 #endif
 #endif
 
-    m_workFolderToolBar = addToolBar(tr("Work"));
+    m_workFolderToolBar = new QToolBar(tr("Work"));
     addToolBar(Qt::LeftToolBarArea, m_workFolderToolBar);
     m_workFolderToolBar->setIconSize(QSize(sz, sz));
     if (spacingReqd) {