QAction: Note that the QAction parent parameter is optional since 5.7
Change-Id: Id1cb5591dae55cd22621cd8e403d2056f1aa9364 Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>bb10
parent
ebae7fc426
commit
1e1a2c7397
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue