Changed: Use default directory when choosing destination
This commit is contained in:
parent
5d1c5b7e0a
commit
fc6e939cd2
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue