summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/plaintexteditor.h
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2011-06-29 17:45:52 +0200
committerLeandro T. C. Melo <leandro.melo@nokia.com>2011-06-30 11:23:15 +0200
commit754b8b3ac70e123bdb57c0dd21082ccc534a4366 (patch)
tree7c914751a5d6756d681116444e9b50cd9cb89947 /src/plugins/texteditor/plaintexteditor.h
parent3317acc9aaaca438c683a746d1ac6fa569e4cc01 (diff)
downloadqt-creator-754b8b3ac70e123bdb57c0dd21082ccc534a4366.tar.gz
Editors: Dont configure form's text editor unnecessarily
It's sufficient (and actually better) to configure the plain text editor at the moment in which the xml is synchronized. Task-number: QTCREATORBUG-5251 Change-Id: Ib2a3e1828f61770871486b8fbc1618abda1a5a74 Reviewed-on: http://codereview.qt.nokia.com/931 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditor.h')
-rw-r--r--src/plugins/texteditor/plaintexteditor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/plaintexteditor.h b/src/plugins/texteditor/plaintexteditor.h
index 6b003ea080..2fb3185d87 100644
--- a/src/plugins/texteditor/plaintexteditor.h
+++ b/src/plugins/texteditor/plaintexteditor.h
@@ -68,6 +68,7 @@ class TEXTEDITOR_EXPORT PlainTextEditorWidget : public BaseTextEditorWidget
public:
PlainTextEditorWidget(QWidget *parent);
+ void configure(const QString& mimeType);
void configure(const Core::MimeType &mimeType);
bool isMissingSyntaxDefinition() const;
bool ignoreMissingSyntaxDefinition() const;