Commit a6010356 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Use QDir directly

As in 479bcbd5
parent dace83ba
......@@ -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());
......
Supports Markdown
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