diff options
author | David Schulz <david.schulz@qt.io> | 2022-04-27 14:34:08 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2022-07-04 07:08:59 +0000 |
commit | 9eef4bd2f1194c7e9f0d6876dc01f8686171eb55 (patch) | |
tree | dcf3426cfb98e5d5e5b0f4bd90166e93d87c45b8 /src/plugins/texteditor/textmark.h | |
parent | 91fb0cf1232850f8cb41840d28689bf6bcfd633c (diff) |
TextEditor: remove mark width factor
Needed to optimize painting of different text mark icons in one line.
Change-Id: Ia7f9dd12020e2a21875b3de54b65257f8ea337d9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/texteditor/textmark.h')
-rw-r--r-- | src/plugins/texteditor/textmark.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/texteditor/textmark.h b/src/plugins/texteditor/textmark.h index 6184861ce9..0e94728103 100644 --- a/src/plugins/texteditor/textmark.h +++ b/src/plugins/texteditor/textmark.h @@ -55,8 +55,7 @@ class TEXTEDITOR_EXPORT TextMark public: TextMark(const Utils::FilePath &fileName, int lineNumber, - Utils::Id category, - double widthFactor = 1.0); + Utils::Id category); TextMark() = delete; virtual ~TextMark(); @@ -112,8 +111,6 @@ public: bool isVisible() const; void setVisible(bool isVisible); Utils::Id category() const { return m_category; } - double widthFactor() const; - void setWidthFactor(double factor); Utils::optional<Utils::Theme::Color> color() const; void setColor(const Utils::Theme::Color &color); @@ -149,7 +146,6 @@ private: Utils::optional<Utils::Theme::Color> m_color; bool m_visible = false; Utils::Id m_category; - double m_widthFactor = 1.0; QString m_lineAnnotation; QString m_toolTip; std::function<QString()> m_toolTipProvider; |