Skip to content
Snippets Groups Projects
Commit 46ba29b8 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmlDesigner: Minor cleanup


Change-Id: I8cb6d208a6864b9a1ba428bced6c3d65440c5fee
Reviewed-by: default avatarTim Jenssen <tim.jenssen@qt.io>
parent d374cd2d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment