summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-03 12:36:44 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-03 12:57:51 +0200
commit5163f1dddb05b58e461e6f7f596ccb1094b5846f (patch)
treeaaee031a34f4c021735e6a35aa85354334867225
parent2be9f957308716622556e62d6acd384d3856ed96 (diff)
downloadqttools-5163f1dddb05b58e461e6f7f596ccb1094b5846f.tar.gz
Qt Designer: Fix static analysis warning getter being marked as slot
Pick-to: 6.5 Change-Id: I638ae91b98601682ed0dca2eaf4855c1e11577f4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r--src/designer/src/lib/shared/richtexteditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/richtexteditor.cpp b/src/designer/src/lib/shared/richtexteditor.cpp
index d7d84cf42..fbc6974f5 100644
--- a/src/designer/src/lib/shared/richtexteditor.cpp
+++ b/src/designer/src/lib/shared/richtexteditor.cpp
@@ -145,6 +145,8 @@ public:
QToolBar *createToolBar(QDesignerFormEditorInterface *core, QWidget *parent = nullptr);
+ QString text(Qt::TextFormat format) const;
+
bool simplifyRichText() const { return m_simplifyRichText; }
public slots:
@@ -152,7 +154,6 @@ public slots:
void setFontPointSize(double);
void setText(const QString &text);
void setSimplifyRichText(bool v);
- QString text(Qt::TextFormat format) const;
signals:
void stateChanged();