diff options
author | hjk <hjk@qt.io> | 2021-07-23 12:49:28 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-08-02 05:46:01 +0000 |
commit | 8ec96a171750ffbd1d587e14810ce820fd5719f3 (patch) | |
tree | e5eee6f3abe5bb6a2299f078bbc95ae0673cd51b /src/plugins/resourceeditor/resourceeditorplugin.cpp | |
parent | ecbd9f4558cfa1042efc648b5db2f78b92902615 (diff) |
Core: Use more FilePath in EditorManager
Change-Id: I21661fd93d0452519c4061ee77fa02b453db9e58
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorplugin.cpp')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp index 924e0f767a..62a4d75245 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.cpp +++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp @@ -403,7 +403,7 @@ void ResourceEditorPluginPrivate::updateContextActions(Node *node) m_removeNonExisting->setVisible(isResourceNode); if (isResourceNode) - Core::EditorManager::populateOpenWithMenu(m_openWithMenu, node->filePath().toString()); + Core::EditorManager::populateOpenWithMenu(m_openWithMenu, node->filePath()); else m_openWithMenu->clear(); m_openWithMenu->menuAction()->setVisible(!m_openWithMenu->actions().isEmpty()); |