Avoid saveState() warning on object name

.. by setting it for the unified toolbar on a Mac.
This commit is contained in:
Mark Liversedge
2014-08-10 16:16:09 +01:00
parent fff6d51306
commit f9552f280a

View File

@@ -219,6 +219,7 @@ MainWindow::MainWindow(const QDir &home)
setUnifiedTitleAndToolBarOnMac(true);
#endif
head = addToolBar(context->athlete->cyclist);
head->setObjectName(context->athlete->cyclist);
head->setContentsMargins(20,0,20,0);
head->setFloatable(false);
head->setMovable(false);