summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-08-03 14:35:12 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-08-03 14:36:03 +0200
commita601035697ba47d628d0de81c6d287cbbe3d00f0 (patch)
tree78be8c784cd330d46297040435a55b66786f3c33 /src/plugins
parentdace83badc2b36c17be6581fb2d729216098743f (diff)
downloadqt-creator-a601035697ba47d628d0de81c6d287cbbe3d00f0.tar.gz
Use QDir directly
As in 479bcbd5a95412d08bbcdc49bffc6d3ce106ba42
Diffstat (limited to 'src/plugins')
-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 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());