diff options
author | hjk <hjk121@nokiamail.com> | 2013-05-25 00:42:44 +0200 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2013-05-27 08:35:46 +0200 |
commit | 4e75fc8c54c8cfce49112f7aa23861b53a3ed844 (patch) | |
tree | bae941aa67af7710233850511f9731cfabb90b5f /src/plugins/pythoneditor/pythoneditorwidget.cpp | |
parent | dfc0ee6456f3f72c0ad77846f17b910e4cf48d03 (diff) | |
download | qt-creator-4e75fc8c54c8cfce49112f7aa23861b53a3ed844.tar.gz |
TextEditor: Simplify Utils::CommentDefinition structure
Change-Id: I8fc97ed61c47af2c3d9e5cc2bf81e97661204d4f
Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorwidget.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorwidget.cpp b/src/plugins/pythoneditor/pythoneditorwidget.cpp index ddd6fe9da4..15010ffa52 100644 --- a/src/plugins/pythoneditor/pythoneditorwidget.cpp +++ b/src/plugins/pythoneditor/pythoneditorwidget.cpp @@ -49,9 +49,9 @@ namespace PythonEditor { EditorWidget::EditorWidget(QWidget *parent) :TextEditor::BaseTextEditorWidget(parent) { - m_commentDefinition.setMultiLineStart(QString()); - m_commentDefinition.setMultiLineEnd(QString()); - m_commentDefinition.setSingleLine(QLatin1String("#")); + m_commentDefinition.multiLineStart.clear(); + m_commentDefinition.multiLineEnd.clear(); + m_commentDefinition.singleLine = QLatin1Char('#'); setParenthesesMatchingEnabled(true); setMarksVisible(true); |