forked from qt-creator/qt-creator
Core: replace QString with Utils::FilePath to get documents
Change-Id: I01777c227398be8bd3bf877c5429b84a75aa361b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -241,7 +241,8 @@ void clearExceptionSelection()
|
||||
QStringList highlightExceptionCode(int lineNumber, const QString &filePath, const QString &errorMessage)
|
||||
{
|
||||
QStringList messages;
|
||||
const QList<IEditor *> editors = DocumentModel::editorsForFilePath(filePath);
|
||||
const QList<IEditor *> editors = DocumentModel::editorsForFilePath(
|
||||
Utils::FilePath::fromString(filePath));
|
||||
|
||||
const TextEditor::FontSettings &fontSettings = TextEditor::TextEditorSettings::instance()->fontSettings();
|
||||
QTextCharFormat errorFormat = fontSettings.toTextCharFormat(TextEditor::C_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user