summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/installtalkwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.cpp')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.cpp6
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)
{