summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widgets/kernel/qaction.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/widgets/kernel/qaction.cpp b/src/widgets/kernel/qaction.cpp
index 8a359346c9..1ca5514655 100644
--- a/src/widgets/kernel/qaction.cpp
+++ b/src/widgets/kernel/qaction.cpp
@@ -232,10 +232,6 @@ void QActionPrivate::setShortcutEnabled(bool enable, QShortcutMap &map)
the action. For example:
\snippet mainwindows/application/mainwindow.cpp 19
- \codeline
- \code
- fileMenu->addAction(openAct);
- \endcode
We recommend that actions are created as children of the window
they are used in. In most cases actions will be children of