From 7da113809ad963b9062ca4c0b3e6bbf617471bbd Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 29 Sep 2016 17:03:59 +0200 Subject: [PATCH] Changed: Use default directory when choosing destination --- code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp | 2 +- code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp index 4f9de6c48..03f23557b 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp @@ -126,7 +126,7 @@ void CInstallDialog::onDestinationDefaultButtonClicked() void CInstallDialog::onDestinationBrowseButtonClicked() { - QString directory = QFileDialog::getExistingDirectory(this, tr("Please choose directory to install Ryzom in")); + QString directory = QFileDialog::getExistingDirectory(this, tr("Please choose directory to install Ryzom in"), m_dstDirectory); if (directory.isEmpty()) return; diff --git a/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp index dcf1ca0fd..baf89ad29 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp @@ -100,7 +100,7 @@ void CMigrateDialog::onDestinationDefaultButtonClicked() void CMigrateDialog::onDestinationBrowseButtonClicked() { - QString directory = QFileDialog::getExistingDirectory(this, tr("Please choose directory to install Ryzom in")); + QString directory = QFileDialog::getExistingDirectory(this, tr("Please choose directory to install Ryzom in"), m_dstDirectory); if (directory.isEmpty()) return;