From 1e1a2c7397e626160a3ecfb5151cc7f9d20bebe7 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 15 Jun 2017 15:00:28 +0200 Subject: QAction: Note that the QAction parent parameter is optional since 5.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id1cb5591dae55cd22621cd8e403d2056f1aa9364 Reviewed-by: Sérgio Martins --- src/widgets/kernel/qaction.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3