Merged in nauck/valentina/feature (pull request #91)
Unify title and tool bar on osx --HG-- branch : develop
This commit is contained in:
commit
b0e484c6f7
|
@ -158,6 +158,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
ui->toolBarStages->setIconSize(QSize(24, 24));
|
ui->toolBarStages->setIconSize(QSize(24, 24));
|
||||||
ui->toolBarTools->setIconSize(QSize(24, 24));
|
ui->toolBarTools->setIconSize(QSize(24, 24));
|
||||||
|
|
||||||
|
setUnifiedTitleAndToolBarOnMac(true);
|
||||||
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 2)
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 2)
|
||||||
// Mac OS Dock Menu
|
// Mac OS Dock Menu
|
||||||
QMenu *menu = new QMenu(this);
|
QMenu *menu = new QMenu(this);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user