Changed: Use default directory when choosing destination

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-29 17:03:59 +02:00
parent a9891214bd
commit 13aac03c04
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;