diff options
Diffstat (limited to 'src/widgets/widgets/qstatusbar.cpp')
-rw-r--r-- | src/widgets/widgets/qstatusbar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/widgets/qstatusbar.cpp b/src/widgets/widgets/qstatusbar.cpp index 880ddfaf35..86fd10699c 100644 --- a/src/widgets/widgets/qstatusbar.cpp +++ b/src/widgets/widgets/qstatusbar.cpp @@ -3,7 +3,7 @@ ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** -** This file is part of the QtGui module of the Qt Toolkit. +** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage @@ -534,7 +534,7 @@ void QStatusBar::reformat() } /*! - + Hides the normal status indications and displays the given \a message for the specified number of milli-seconds (\a{timeout}). If \a{timeout} is 0 (default), the \a {message} remains displayed until @@ -744,7 +744,7 @@ bool QStatusBar::event(QEvent *e) } } } - + // On Mac OS X Leopard it is possible to drag the window by clicking // on the tool bar on most applications. #ifndef Q_WS_MAC @@ -755,7 +755,7 @@ bool QStatusBar::event(QEvent *e) // Enable drag-click only if the status bar is the status bar for a // QMainWindow with a unifed toolbar. - if (parent() == 0 || qobject_cast<QMainWindow *>(parent()) == 0 || + if (parent() == 0 || qobject_cast<QMainWindow *>(parent()) == 0 || qobject_cast<QMainWindow *>(parent())->unifiedTitleAndToolBarOnMac() == false ) return QWidget::event(e); |