summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-07-04 15:11:50 +0200
committerTobias Hunger <tobias.hunger@qt.io>2016-07-15 14:21:21 +0000
commitcc27125092b32a69422aa946dfdbdb66d5d8e428 (patch)
treed74a1b340f700cf0cfdca7035d28cf8dbd81b4ae /src/plugins/vcsbase
parentca7a924a068b23815e3915b1f2887eed0e38ef7f (diff)
downloadqt-creator-cc27125092b32a69422aa946dfdbdb66d5d8e428.tar.gz
Utils::Shellcommand: Remove runFullySynchronous
Nobody uses that anymore. Change-Id: I24935ac8d25eb639eb253250749750993c740516 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/vcscommand.cpp10
-rw-r--r--src/plugins/vcsbase/vcscommand.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/src/plugins/vcsbase/vcscommand.cpp b/src/plugins/vcsbase/vcscommand.cpp
index 2062ab6c8d..14d03e3a69 100644
--- a/src/plugins/vcsbase/vcscommand.cpp
+++ b/src/plugins/vcsbase/vcscommand.cpp
@@ -82,16 +82,6 @@ Utils::SynchronousProcessResponse VcsCommand::runCommand(const Utils::FileName &
return response;
}
-bool VcsCommand::runFullySynchronous(const Utils::FileName &binary, const QStringList &arguments,
- int timeoutS, QByteArray *outputData, QByteArray *errorData,
- const QString &workingDirectory)
-{
- bool result = Core::ShellCommand::runFullySynchronous(binary, arguments, timeoutS,
- outputData, errorData, workingDirectory);
- emitRepositoryChanged(workingDirectory);
- return result;
-}
-
void VcsCommand::emitRepositoryChanged(const QString &workingDirectory)
{
if (m_preventRepositoryChanged || !(flags() & VcsCommand::ExpectRepoChanges))
diff --git a/src/plugins/vcsbase/vcscommand.h b/src/plugins/vcsbase/vcscommand.h
index af9d1214d6..bc7ad022e4 100644
--- a/src/plugins/vcsbase/vcscommand.h
+++ b/src/plugins/vcsbase/vcscommand.h
@@ -50,9 +50,6 @@ public:
const QString &workDirectory = QString(),
const Utils::ExitCodeInterpreter &interpreter = Utils::defaultExitCodeInterpreter) override;
- bool runFullySynchronous(const Utils::FileName &binary, const QStringList &arguments,
- int timeoutS, QByteArray *outputData, QByteArray *errorData,
- const QString &workingDirectory = QString()) override;
private:
unsigned processFlags() const override;
void emitRepositoryChanged(const QString &workingDirectory);