diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-07-15 16:40:43 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-07-15 16:45:35 +0200 |
commit | 479bcbd5a95412d08bbcdc49bffc6d3ce106ba42 (patch) | |
tree | 352c13da52dc8616a959066a9d8b9f2b86cfef24 | |
parent | c03f2b03b23d56efe1845b74be7275c49b19e65c (diff) | |
download | qt-creator-479bcbd5a95412d08bbcdc49bffc6d3ce106ba42.tar.gz |
FileWidget: use QDir directly
-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 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(' '); |