diff options
| author | Christian Kandeler <christian.kandeler@qt.io> | 2021-01-15 11:17:21 +0100 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@qt.io> | 2021-01-20 14:17:35 +0000 |
| commit | a1c5dd93f57206d49ff342b0b566077f8e09fa93 (patch) | |
| tree | d9390c88d253332eb2cfaf3143cca3a8f1ba99c7 /src/plugins/cppcheck/cppchecktextmark.cpp | |
| parent | f79e4b3677f7c42103413a2fbface6ab8f763701 (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.cpp | 1 |
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 |
