Commit 46ba29b8 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

QmlDesigner: Minor cleanup

Change-Id: I8cb6d208a6864b9a1ba428bced6c3d65440c5fee
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent d374cd2d
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment