Store the encoded file name in a QString.

This commit is contained in:
Roberto Raggi
2009-05-27 15:34:13 +02:00
parent b3bccbc2e8
commit bdf6c3d0be
6 changed files with 15 additions and 16 deletions

View File

@@ -761,7 +761,7 @@ CPPEditor::Link CPPEditor::findLinkAt(const QTextCursor &cursor,
foreach (const Document::MacroUse use, doc->macroUses()) {
if (use.contains(endOfName - 1)) {
const Macro &macro = use.macro();
link.fileName = QString::fromUtf8(macro.fileName());
link.fileName = macro.fileName();
link.line = macro.line();
link.pos = use.begin();
link.length = use.end() - use.begin();