diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-02-17 23:41:22 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-02-18 09:33:04 +0000 |
commit | 8b0d849a27037a0b4e969e5f2f8f4c3497325c3e (patch) | |
tree | 6e21e6a33a1e5c5643709ba7f848f744f6c6abf2 /src/plugins/projectexplorer/extracompiler.h | |
parent | 97414e654b66f4616359617728bae9a8c4d56a1b (diff) |
ExtraCompiler: Store contents as Utf8
Avoid conversions when they're not needed.
Change-Id: I7e996bc6e87be4327d75f0d743ff2de38d6ccc32
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/extracompiler.h')
-rw-r--r-- | src/plugins/projectexplorer/extracompiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/extracompiler.h b/src/plugins/projectexplorer/extracompiler.h index bd248eabd8..eb5e0123d9 100644 --- a/src/plugins/projectexplorer/extracompiler.h +++ b/src/plugins/projectexplorer/extracompiler.h @@ -50,8 +50,8 @@ public: // You can set the contents from the outside. This is done if the file has been (re)created by // the regular build process. - void setContent(const Utils::FileName &file, const QString &content); - QString content(const Utils::FileName &file) const; + void setContent(const Utils::FileName &file, const QByteArray &content); + QByteArray content(const Utils::FileName &file) const; Utils::FileNameList targets() const; |