diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2012-11-20 07:18:01 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2012-11-20 08:57:35 +0100 |
commit | 7c4e2b6c60eb311ab5ce2bf1cc05fd10caf06350 (patch) | |
tree | 50ebe5aa9ff3552ef07c73986945c889fef3e452 /src/plugins/texteditor/plaintexteditorfactory.cpp | |
parent | f31da9ac552bdad551babfebfeadd7d99250ac9d (diff) |
Id: Add QByteArray constructor
Distinguish from const char * one.
QString ctor is yet to be removed
Change-Id: I2da231036c6417353b0566d39666d918ad141c6d
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.cpp')
-rw-r--r-- | src/plugins/texteditor/plaintexteditorfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/plaintexteditorfactory.cpp b/src/plugins/texteditor/plaintexteditorfactory.cpp index 3b2363dd7e0..08977d70169 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.cpp +++ b/src/plugins/texteditor/plaintexteditorfactory.cpp @@ -65,7 +65,7 @@ PlainTextEditorFactory::~PlainTextEditorFactory() Core::Id PlainTextEditorFactory::id() const { - return Core::Constants::K_DEFAULT_TEXT_EDITOR_ID; + return Core::Id(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID); } QString PlainTextEditorFactory::displayName() const |