From 5b1edbec6f1f39ae489bfa37c99749e0ba2a1adf Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Thu, 9 Mar 2023 13:41:17 +0100
Subject: [PATCH] ctd

---
 GUI/View/Info/PythonSyntaxHighlighter.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/GUI/View/Info/PythonSyntaxHighlighter.h b/GUI/View/Info/PythonSyntaxHighlighter.h
index 28c9729c07f..3cbb40d46f8 100644
--- a/GUI/View/Info/PythonSyntaxHighlighter.h
+++ b/GUI/View/Info/PythonSyntaxHighlighter.h
@@ -62,14 +62,12 @@ public:
 
 //! Implementation of highlighting for Python code.
 class PythonSyntaxHighlighter : public QSyntaxHighlighter {
-    Q_OBJECT
 public:
     PythonSyntaxHighlighter(QTextDocument* parent = nullptr);
 
-protected:
+private:
     void highlightBlock(const QString& text) override;
 
-private:
     QStringList keywords;
     QStringList operators;
     QStringList braces;
-- 
GitLab