GUI: Convert native path to internal presentation.

If application path is edited by hand there can be native Windows path separators. Unify path separators to internal presentation before storing the path.
This commit is contained in:
Kimmo Varis 2009-06-06 11:38:48 +03:00
parent d0757c5797
commit 3b080e5b0b
1 changed files with 3 additions and 1 deletions

View File

@ -116,7 +116,9 @@ void ApplicationDialog::Ok()
}
else
{
accept();
// Convert possible native (Windows) path to internal presentation format
mPath->setText(QDir::fromNativeSeparators(mPath->text()));
accept();
}
}