mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
'Prepare
svn path=/trunk/KDE/kdebase/apps/; revision=1004416
This commit is contained in:
parent
9470f30828
commit
99cdb9d5ba
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue