aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/codestyleeditor.h
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2019-01-22 14:16:30 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-01-24 08:36:05 +0000
commit2e19352177cb23d185d0515c32128406791c317e (patch)
tree05de82e3e34ed4b932b781ddb1b9c367a929e986 /src/plugins/texteditor/codestyleeditor.h
parent020d1aab0a7fa54ec3569cce17c2200f402dfea1 (diff)
ClangFormat: Fix applying global settings
The actual apply() method was never called for the widget. Change-Id: Idff194a36591db437cbe5695377005ed5a0b25d4 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/texteditor/codestyleeditor.h')
-rw-r--r--src/plugins/texteditor/codestyleeditor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/codestyleeditor.h b/src/plugins/texteditor/codestyleeditor.h
index edd04db171..613463c75b 100644
--- a/src/plugins/texteditor/codestyleeditor.h
+++ b/src/plugins/texteditor/codestyleeditor.h
@@ -27,7 +27,7 @@
#include "texteditor_global.h"
-#include <QWidget>
+#include "icodestylepreferencesfactory.h"
QT_BEGIN_NAMESPACE
class QVBoxLayout;
@@ -39,7 +39,7 @@ class ICodeStylePreferencesFactory;
class ICodeStylePreferences;
class SnippetEditorWidget;
-class TEXTEDITOR_EXPORT CodeStyleEditor : public QWidget
+class TEXTEDITOR_EXPORT CodeStyleEditor : public CodeStyleEditorWidget
{
Q_OBJECT
public: