From 99cdb9d5baa12a94c36492e4ad076860690158f2 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 30 Jul 2009 06:30:21 +0000 Subject: 'Prepare svn path=/trunk/KDE/kdebase/apps/; revision=1004416 --- src/revisioncontrolplugin.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/revisioncontrolplugin.cpp') 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()) } -- cgit v1.3