summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/browseof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/browseof.cpp')
-rw-r--r--rbutil/rbutilqt/browseof.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/browseof.cpp b/rbutil/rbutilqt/browseof.cpp
index e9fdc982f4..93b768c263 100644
--- a/rbutil/rbutilqt/browseof.cpp
+++ b/rbutil/rbutilqt/browseof.cpp
@@ -43,8 +43,7 @@ void BrowseOF::onBrowse()
if(QFileInfo(ui.OFlineEdit->text()).exists())
{
- QDir d(ui.OFlineEdit->text());
- browser.setDir(d);
+ browser.setDir(ui.OFlineEdit->text());
}
if(browser.exec() == QDialog::Accepted)