Changed: Use default directory when choosing destination

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent a9891214bd
commit 13aac03c04

@ -126,7 +126,7 @@ void CInstallDialog::onDestinationDefaultButtonClicked()
void CInstallDialog::onDestinationBrowseButtonClicked() 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; if (directory.isEmpty()) return;

@ -100,7 +100,7 @@ void CMigrateDialog::onDestinationDefaultButtonClicked()
void CMigrateDialog::onDestinationBrowseButtonClicked() 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; if (directory.isEmpty()) return;

Loading…
Cancel
Save