From: Peter Penz Date: Thu, 30 Jul 2009 06:30:21 +0000 (+0000) Subject: 'Prepare X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/99cdb9d5baa12a94c36492e4ad076860690158f2 'Prepare svn path=/trunk/KDE/kdebase/apps/; revision=1004416 --- 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()) }