diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp')
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp b/src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp index 7bd2d1c276..f3ea8e28ab 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp @@ -136,7 +136,7 @@ void FileWidget::setupComboBox() QDir dir; if (m_itemNode.isValid()) - dir = QFileInfo(m_itemNode.modelNode().model()->fileUrl().toLocalFile()).absoluteDir(); + dir = QDir(m_itemNode.modelNode().model()->fileUrl().toLocalFile()); else if (m_path.isValid()) dir = QDir(m_path.toLocalFile()); |