Skip to content

Commit

Permalink
GUI: Convert native path to internal presentation.
Browse files Browse the repository at this point in the history
If application path is edited by hand there can be native Windows path separators. Unify path separators to internal presentation before storing the path.
  • Loading branch information
kimmov committed Jun 6, 2009
1 parent d0757c5 commit 3b080e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gui/applicationdialog.cpp
Expand Up @@ -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();
}
}

0 comments on commit 3b080e5

Please sign in to comment.