void dockWidgetSize();
void QTBUG2774_stylechange();
void QTBUG15080_restoreState();
+#ifdef Q_OS_MAC
void toggleUnifiedTitleAndToolBarOnMac();
+#endif
void QTBUG21378_animationFinished();
};
QCOMPARE(dw2->width(), 101);
}
+#ifdef Q_OS_MAC
void tst_QMainWindow::toggleUnifiedTitleAndToolBarOnMac()
{
-#ifdef Q_OS_MAC
QMainWindow mw;
QToolBar *tb = new QToolBar;
tb->addAction("Test");
QVERIFY(frameGeometry.topLeft() == mw.frameGeometry().topLeft());
mw.setUnifiedTitleAndToolBarOnMac(true);
QVERIFY(frameGeometry.topLeft() == mw.frameGeometry().topLeft());
-#else
- QSKIP("Mac specific test");
-#endif
}
+#endif
void tst_QMainWindow::QTBUG21378_animationFinished()
{