┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/revisioncontrolplugin.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-07-30 06:30:21 +0000
committerPeter Penz <[email protected]>2009-07-30 06:30:21 +0000
commit99cdb9d5baa12a94c36492e4ad076860690158f2 (patch)
tree53242acfb815602a2e01372965b2f402039383e1 /src/revisioncontrolplugin.cpp
parent9470f30828e7b86d8c60700bfb27f161e7327276 (diff)
'Prepare
svn path=/trunk/KDE/kdebase/apps/; revision=1004416
Diffstat (limited to 'src/revisioncontrolplugin.cpp')
-rw-r--r--src/revisioncontrolplugin.cpp7
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())
}