diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-07-15 15:14:10 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-07-17 09:00:17 +0200 |
commit | fade19a9bfb89b791d9a64dd3e43441a5861e40c (patch) | |
tree | e691329773e462f851480ac92f75a0c9ce43284f /src/plugins/perforce/perforcesubmiteditor.h | |
parent | 0ba2b9b37d745107926e13cf7e241c5351229966 (diff) |
Move IEditor::createNew to IDocument::setContents
The method is for setting the contents, so it belongs to the document,
and should be named correspondingly.
Change-Id: I40363dc08f11268f530885b512e4a88e8b10d096
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/perforce/perforcesubmiteditor.h')
-rw-r--r-- | src/plugins/perforce/perforcesubmiteditor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforcesubmiteditor.h b/src/plugins/perforce/perforcesubmiteditor.h index dc3447712a..9baf78ac88 100644 --- a/src/plugins/perforce/perforcesubmiteditor.h +++ b/src/plugins/perforce/perforcesubmiteditor.h @@ -67,7 +67,7 @@ public: protected: QByteArray fileContents() const; - bool setFileContents(const QString &contents); + bool setFileContents(const QByteArray &contents); private: inline PerforceSubmitEditorWidget *submitEditorWidget(); |