summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 4698b3fc58..f5ff47d539 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -735,11 +735,11 @@ void RbUtilQt::installBootloader()
735 "in a new folder \"%1\" created below the selected folder.\n" 735 "in a new folder \"%1\" created below the selected folder.\n"
736 "Press \"No\" to skip this step.").arg(targetFolder), 736 "Press \"No\" to skip this step.").arg(targetFolder),
737 QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) { 737 QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
738 BrowseDirtree tree(this, tr("Browse backup folder")); 738 backupDestination = QFileDialog::getExistingDirectory(this,
739 tree.setDir(QDir::home()); 739 tr("Browse backup folder"), QDir::homePath());
740 tree.exec(); 740 if(!backupDestination.isEmpty())
741 backupDestination += "/" + targetFolder;
741 742
742 backupDestination = tree.getSelected() + "/" + targetFolder;
743 qDebug() << "[RbUtil] backing up to" << backupDestination; 743 qDebug() << "[RbUtil] backing up to" << backupDestination;
744 // backup needs to be done after the logger has been set up. 744 // backup needs to be done after the logger has been set up.
745 } 745 }