summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qaction.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2018-07-13 14:18:51 +0200
committerPaul Wicking <paul.wicking@qt.io>2018-07-13 17:44:22 +0000
commit2d20342c996ad7f1919f1329fde57d2edc367147 (patch)
tree9c82c81dd2aba3172680e30313afc311e11b1e0b /src/widgets/kernel/qaction.cpp
parent46c2241a57d65ae6bb89e0924cadb3220e5371ef (diff)
Doc: Remove redundant \code
The preceding snippet contains the same line of code. It is unclear why this line is repeated, and it does not seem to serve a purpose. This patch removes the line of code and the QDoc command used to set it apart from the preceding snippet. Task-number: QTBUG-56772 Change-Id: I400b22aa75ee4542bfb67f7e47e3c31c577a39e5 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/widgets/kernel/qaction.cpp')
-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