diff options
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 84bb5a6685..ffcaa15527 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -5725,7 +5725,7 @@ void QWidget::setWindowFilePath(const QString &filePath) void QWidgetPrivate::setWindowFilePath_helper(const QString &filePath) { if (extra->topextra && extra->topextra->caption.isEmpty()) { -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC setWindowTitle_helper(QFileInfo(filePath).fileName()); #else Q_Q(QWidget); @@ -5733,7 +5733,7 @@ void QWidgetPrivate::setWindowFilePath_helper(const QString &filePath) setWindowTitle_helper(q->windowTitle()); #endif } -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC setWindowFilePath_sys(filePath); #endif } |