diff options
author | hjk <hjk@qt.io> | 2017-06-15 15:00:28 +0200 |
---|---|---|
committer | Sérgio Martins <sergio.martins@kdab.com> | 2017-08-08 08:00:42 +0000 |
commit | 1e1a2c7397e626160a3ecfb5151cc7f9d20bebe7 (patch) | |
tree | cc13af0b4687aa66c3eb532bc85fbccaa929219f /src/widgets | |
parent | ebae7fc4264b393436450a6355df38eb97770f9f (diff) |
QAction: Note that the QAction parent parameter is optional since 5.7
Change-Id: Id1cb5591dae55cd22621cd8e403d2056f1aa9364
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/kernel/qaction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/kernel/qaction.cpp b/src/widgets/kernel/qaction.cpp index 7dd2f72f03..2314ab45f1 100644 --- a/src/widgets/kernel/qaction.cpp +++ b/src/widgets/kernel/qaction.cpp @@ -277,6 +277,8 @@ void QActionPrivate::setShortcutEnabled(bool enable, QShortcutMap &map) /*! Constructs an action with \a parent. If \a parent is an action group the action will be automatically inserted into the group. + + \note The \a parent argument is optional since Qt 5.7. */ QAction::QAction(QObject* parent) : QAction(*new QActionPrivate, parent) |