forked from qt-creator/qt-creator
Core: Proliferate FilePath use a bit
Change-Id: I06c9a9875b0698e3ccab13a2f1136cdbcac621b3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -228,9 +228,9 @@ QmlProfilerTool::QmlProfilerTool()
|
||||
QmlProfilerTextMarkModel *model = d->m_profilerModelManager->textMarkModel();
|
||||
if (EditorManager *editorManager = EditorManager::instance()) {
|
||||
connect(editorManager, &EditorManager::editorCreated,
|
||||
model, [this, model](Core::IEditor *editor, const QString &fileName) {
|
||||
model, [this, model](Core::IEditor *editor, const FilePath &filePath) {
|
||||
Q_UNUSED(editor)
|
||||
model->createMarks(d->m_viewContainer, fileName);
|
||||
model->createMarks(d->m_viewContainer, filePath.toString());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user