From 63f7abb03cefefee169feed0dbf96b5f3209f1e7 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen <erik.verbruggen@nokia.com> Date: Wed, 28 Jul 2010 12:16:28 +0200 Subject: [PATCH] Corrected a fixme-comment. --- src/plugins/designer/qtcreatorintegration.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/designer/qtcreatorintegration.cpp b/src/plugins/designer/qtcreatorintegration.cpp index ea51e896a5c..abe3881d31c 100644 --- a/src/plugins/designer/qtcreatorintegration.cpp +++ b/src/plugins/designer/qtcreatorintegration.cpp @@ -331,11 +331,15 @@ static Document::Ptr addDefinition(const CPlusPlus::Snapshot &docTable, const QFileInfo sourceFI(doc->fileName()); // we take only those documents which have the same filename if (headerBaseName == sourceFI.baseName()) { + // + // ### FIXME: change this to use the Refactoring changes. + // + if (ITextEditable *editable = editableAt(doc->fileName(), 0, 0)) { // // ### FIXME: use the InsertionPointLocator to insert at the correct place. - // + // (we'll have to extend that class first to do definition insertions) const QString contents = editable->contents(); int column; -- GitLab