Git: Native separators in GitClient::StashInfo::stashPrompt

Change-Id: I5090d8eb8f5e262785735ced81a12b9473721204
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2014-06-03 13:43:09 +02:00
parent ff1203de9e
commit c3cb944eec

View File

@@ -3926,7 +3926,8 @@ void GitClient::StashInfo::stashPrompt(const QString &command, const QString &st
{
QMessageBox msgBox(QMessageBox::Question, tr("Uncommitted Changes Found"),
tr("What would you like to do with local changes in:")
+ QLatin1String("\n\n\"") + m_workingDir + QLatin1Char('\"'),
+ QLatin1String("\n\n\"")
+ QDir::toNativeSeparators(m_workingDir) + QLatin1Char('\"'),
QMessageBox::NoButton, Core::ICore::mainWindow());
msgBox.setDetailedText(statusOutput);