forked from qt-creator/qt-creator
Fix QML to UTF-8, unless changed in editor
Task-id: QTCREATORBUG-3424
This commit is contained in:
@@ -119,7 +119,13 @@ public:
|
||||
|
||||
virtual void setContextHelpId(const QString &) = 0;
|
||||
|
||||
virtual void setTextCodec(QTextCodec *) = 0;
|
||||
enum TextCodecReason {
|
||||
TextCodecOtherReason,
|
||||
TextCodecFromSystemSetting,
|
||||
TextCodecFromProjectSetting
|
||||
};
|
||||
|
||||
virtual void setTextCodec(QTextCodec *, TextCodecReason reason = TextCodecOtherReason) = 0;
|
||||
virtual QTextCodec *textCodec() const = 0;
|
||||
|
||||
static QMap<QString, QString> openedTextEditorsContents();
|
||||
|
||||
Reference in New Issue
Block a user