aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck/cppchecktextmark.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2021-01-15 11:17:21 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2021-01-20 14:17:35 +0000
commita1c5dd93f57206d49ff342b0b566077f8e09fa93 (patch)
treed9390c88d253332eb2cfaf3143cca3a8f1ba99c7 /src/plugins/cppcheck/cppchecktextmark.cpp
parentf79e4b3677f7c42103413a2fbface6ab8f763701 (diff)
TextEditor: Let TextMark subclasses provide a settings page
Task-number: QTCREATORBUG-25150 Change-Id: Id5bbdcf2db7afacb823140d77ebd5bc141ac7f81 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cppcheck/cppchecktextmark.cpp')
-rw-r--r--src/plugins/cppcheck/cppchecktextmark.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cppcheck/cppchecktextmark.cpp b/src/plugins/cppcheck/cppchecktextmark.cpp
index 512ba37ce9d..55d5b43f4ce 100644
--- a/src/plugins/cppcheck/cppchecktextmark.cpp
+++ b/src/plugins/cppcheck/cppchecktextmark.cpp
@@ -76,6 +76,7 @@ CppcheckTextMark::CppcheckTextMark (const Diagnostic &diagnostic)
setIcon(visual.icon);
setToolTip(toolTipText(diagnostic.severityText));
setLineAnnotation(diagnostic.message);
+ setSettingsPage(Constants::OPTIONS_PAGE_ID);
}
QString CppcheckTextMark::toolTipText(const QString &severityText) const