Use native separators in user visible string

Change-Id: Ic41e71e0f21fbf000202e8fc05262f5615b46c1d
Reviewed-on: http://codereview.qt-project.org/6066
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2011-10-05 13:27:18 +00:00
parent 61714ec4c9
commit 359ebf3281

View File

@@ -400,7 +400,7 @@ static inline bool askToKill(const QString &binary = QString())
const QString title = SynchronousProcess::tr("Process not Responding"); const QString title = SynchronousProcess::tr("Process not Responding");
QString msg = binary.isEmpty() ? QString msg = binary.isEmpty() ?
SynchronousProcess::tr("The process is not responding.") : SynchronousProcess::tr("The process is not responding.") :
SynchronousProcess::tr("The process '%1' is not responding.").arg(binary); SynchronousProcess::tr("The process '%1' is not responding.").arg(QDir::toNativeSeparators(binary));
msg += QLatin1Char(' '); msg += QLatin1Char(' ');
msg += SynchronousProcess::tr("Would you like to terminate it?"); msg += SynchronousProcess::tr("Would you like to terminate it?");
// Restore the cursor that is set to wait while running. // Restore the cursor that is set to wait while running.