summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-07-15 16:40:43 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-07-15 16:45:35 +0200
commit479bcbd5a95412d08bbcdc49bffc6d3ce106ba42 (patch)
tree352c13da52dc8616a959066a9d8b9f2b86cfef24
parentc03f2b03b23d56efe1845b74be7275c49b19e65c (diff)
downloadqt-creator-479bcbd5a95412d08bbcdc49bffc6d3ce106ba42.tar.gz
FileWidget: use QDir directly
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp2
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 28dc745ab9..fc0aa8a7ea 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp
@@ -131,7 +131,7 @@ void FileWidget::setupComboBox()
if (m_itemNode.isValid())
dir = QFileInfo(m_itemNode.modelNode().model()->fileUrl().toLocalFile()).absoluteDir();
else if (m_path.isValid())
- dir = QFileInfo(m_path.toLocalFile()).absoluteDir();
+ dir = QDir(m_path.toLocalFile());
QStringList filterList = m_filter.split(' ');