diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/fileresourcesmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/fileresourcesmodel.cpp b/src/plugins/qmldesigner/components/propertyeditor/fileresourcesmodel.cpp index 4e8a390bfd..d44bcfc3d3 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/fileresourcesmodel.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/fileresourcesmodel.cpp @@ -123,7 +123,7 @@ void FileResourcesModel::openFileDialog() //If that one is not valid we try the path for the current file if (path.isEmpty() && !m_fileName.isEmpty()) - path = QFileInfo(modelPath + QStringLiteral("/") + m_fileName.toString()).absoluteDir().absolutePath(); + path = QFileInfo(modelPath + '/' + m_fileName.toString()).absolutePath(); //Next we try to fall back to the path any file browser was opened with |