Corrected a fixme-comment.

This commit is contained in:
Erik Verbruggen
2010-07-28 12:16:28 +02:00
parent a8179152c9
commit 63f7abb03c

View File

@@ -331,11 +331,15 @@ static Document::Ptr addDefinition(const CPlusPlus::Snapshot &docTable,
const QFileInfo sourceFI(doc->fileName()); const QFileInfo sourceFI(doc->fileName());
// we take only those documents which have the same filename // we take only those documents which have the same filename
if (headerBaseName == sourceFI.baseName()) { if (headerBaseName == sourceFI.baseName()) {
//
// ### FIXME: change this to use the Refactoring changes.
//
if (ITextEditable *editable = editableAt(doc->fileName(), 0, 0)) { if (ITextEditable *editable = editableAt(doc->fileName(), 0, 0)) {
// //
// ### FIXME: use the InsertionPointLocator to insert at the correct place. // ### 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(); const QString contents = editable->contents();
int column; int column;