diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-04-17 14:09:47 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-04-22 10:06:40 +0200 |
commit | eccc1198d6d49707987ab3846da084e38edaf7c4 (patch) | |
tree | c4056ac7e0dfd26bc5aff3ceaed6e9fb1ec5b559 /src/plugins/coreplugin/locator/executefilter.cpp | |
parent | c20f40e12e0b6c5c85d0edfa349ab25b5472f06c (diff) | |
download | qt-creator-eccc1198d6d49707987ab3846da084e38edaf7c4.tar.gz |
Use double quotes instead of single quotes as per our guidelines.
Change-Id: Ib608bb49e26781aef1914085a5d801fcdcd5eb56
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'src/plugins/coreplugin/locator/executefilter.cpp')
-rw-r--r-- | src/plugins/coreplugin/locator/executefilter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/coreplugin/locator/executefilter.cpp b/src/plugins/coreplugin/locator/executefilter.cpp index 795335c806..d572caaa1a 100644 --- a/src/plugins/coreplugin/locator/executefilter.cpp +++ b/src/plugins/coreplugin/locator/executefilter.cpp @@ -106,7 +106,7 @@ void ExecuteFilter::accept(LocatorFilterEntry selection) const } if (m_process->state() != QProcess::NotRunning) { - const QString info(tr("Previous command is still running ('%1').\nDo you want to kill it?") + const QString info(tr("Previous command is still running (\"%1\").\nDo you want to kill it?") .arg(p->headCommand())); int r = QMessageBox::question(ICore::dialogParent(), tr("Kill Previous Process?"), info, QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, @@ -127,9 +127,9 @@ void ExecuteFilter::finished(int exitCode, QProcess::ExitStatus status) const QString commandName = headCommand(); QString message; if (status == QProcess::NormalExit && exitCode == 0) - message = tr("Command '%1' finished.").arg(commandName); + message = tr("Command \"%1\" finished.").arg(commandName); else - message = tr("Command '%1' failed.").arg(commandName); + message = tr("Command \"%1\" failed.").arg(commandName); MessageManager::write(message); m_taskQueue.dequeue(); @@ -158,12 +158,12 @@ void ExecuteFilter::runHeadCommand() const ExecuteData &d = m_taskQueue.head(); const QString fullPath = Utils::Environment::systemEnvironment().searchInPath(d.executable); if (fullPath.isEmpty()) { - MessageManager::write(tr("Could not find executable for '%1'.").arg(d.executable)); + MessageManager::write(tr("Could not find executable for \"%1\".").arg(d.executable)); m_taskQueue.dequeue(); runHeadCommand(); return; } - MessageManager::write(tr("Starting command '%1'.").arg(headCommand())); + MessageManager::write(tr("Starting command \"%1\".").arg(headCommand())); m_process->setWorkingDirectory(d.workingDirectory); m_process->setCommand(fullPath, d.arguments); m_process->start(); |