diff options
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.cpp')
-rw-r--r-- | rbutil/rbutilqt/installtalkwindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp index 324fe442b1..f273721437 100644 --- a/rbutil/rbutilqt/installtalkwindow.cpp +++ b/rbutil/rbutilqt/installtalkwindow.cpp @@ -43,13 +43,11 @@ void InstallTalkWindow::browseFolder() if(QFileInfo(ui.lineTalkFolder->text()).isDir()) { - QDir d(ui.lineTalkFolder->text()); - browser.setDir(d); + browser.setDir(ui.lineTalkFolder->text()); } else { - QDir d("/media"); - browser.setDir(d); + browser.setDir("/media"); // FIXME: This looks Linux specific } if(browser.exec() == QDialog::Accepted) { |