diff options
| author | Peter Penz <[email protected]> | 2009-07-30 06:30:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-30 06:30:21 +0000 |
| commit | 99cdb9d5baa12a94c36492e4ad076860690158f2 (patch) | |
| tree | 53242acfb815602a2e01372965b2f402039383e1 /src | |
| parent | 9470f30828e7b86d8c60700bfb27f161e7327276 (diff) | |
'Prepare
svn path=/trunk/KDE/kdebase/apps/; revision=1004416
Diffstat (limited to 'src')
| -rw-r--r-- | src/revisioncontrolplugin.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/revisioncontrolplugin.cpp b/src/revisioncontrolplugin.cpp index 79e35e386..905b91380 100644 --- a/src/revisioncontrolplugin.cpp +++ b/src/revisioncontrolplugin.cpp @@ -338,14 +338,13 @@ void SubversionPlugin::startSvnCommandProcess() connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(slotOperationError())); - QStringList arguments; - arguments << m_command; + const QString program = "svn " + m_command + ' '; if (!m_contextDir.isEmpty()) { - process->start("svn", arguments << KShell::quoteArg(m_contextDir)); + process->start(program + KShell::quoteArg(m_contextDir)); m_contextDir.clear(); } else { const KFileItem item = m_contextItems.takeLast(); - process->start("svn", arguments << KShell::quoteArg(item.localPath())); + process->start(program + KShell::quoteArg(item.localPath())); // the remaining items of m_contextItems will be executed // after the process has finished (see slotOperationFinished()) } |
