summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-07-25 14:54:10 +0200
committerhjk <hjk121@nokiamail.com>2014-07-28 12:33:47 +0200
commitadfb30743df0644f144d16c95c70b025f8acb56c (patch)
treecb60a3735fafd6a19bbb295d83209b988fe04f87 /src/plugins/cmakeprojectmanager/cmakeeditor.cpp
parentf3f40b14de348b51e822db84925b01206c41f93a (diff)
downloadqt-creator-adfb30743df0644f144d16c95c70b025f8acb56c.tar.gz
TextEditor: Merge BaseTextEditorDocument into BaseTextDocument
That was the only user of that layer of abstraction. Change-Id: I2bdc4abb8b2b33bfb70398dd11f7ecc4745ddc43 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditor.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
index f03d1f30f2..4772f256d1 100644
--- a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp
@@ -109,7 +109,7 @@ void CMakeEditor::build()
QString CMakeEditor::contextHelpId() const
{
int pos = position();
- TextEditor::BaseTextEditorDocument* doc = const_cast<CMakeEditor*>(this)->textDocument();
+ TextEditor::BaseTextDocument *doc = const_cast<CMakeEditor*>(this)->textDocument();
QChar chr;
do {