summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/styles/qstyle/tst_qstyle.cpp')
-rw-r--r--tests/auto/widgets/styles/qstyle/tst_qstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
index 6963254484..b7b9ab6423 100644
--- a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
+++ b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
@@ -270,7 +270,7 @@ bool tst_QStyle::testAllFunctions(QStyle *style)
bool tst_QStyle::testScrollBarSubControls(const QStyle *style)
{
- const bool isMacStyle = style->objectName().compare(QLatin1String("macintosh"),
+ const bool isMacStyle = style->objectName().compare(QLatin1String("macos"),
Qt::CaseInsensitive) == 0;
QScrollBar scrollBar;
setFrameless(&scrollBar);
@@ -328,7 +328,7 @@ void tst_QStyle::testWindowsVistaStyle()
#ifdef Q_OS_MAC
void tst_QStyle::testMacStyle()
{
- QStyle *mstyle = QStyleFactory::create("Macintosh");
+ QStyle *mstyle = QStyleFactory::create("macos");
QVERIFY(testAllFunctions(mstyle));
delete mstyle;
}