diff options
author | jkobus <jaroslaw.kobus@digia.com> | 2014-04-17 12:47:38 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@digia.com> | 2014-05-20 11:56:40 +0200 |
commit | 48aefde7ba3005af2e71ed9a854cfab6fd6dfb9b (patch) | |
tree | cd04d0617f260d99e9a31c62bdbd49ed59ac3c41 /src/plugins/vcsbase/vcsbaseplugin.h | |
parent | ba29d9f9b5d15348c647c5fd363f0772f47f2935 (diff) | |
download | qt-creator-48aefde7ba3005af2e71ed9a854cfab6fd6dfb9b.tar.gz |
Move patch command out of VcsPlugin
It will be needed soon inside DiffEditor plugin.
Move "Patch command" setting out of Version Control | General
into Environment | General | System.
Introduce PatchTool class, which hold the patch command
setting and a method for applying patches (runPatch() - moved
from VcsBasePlugin).
Change-Id: I9de94358ccd5c6e31ac2beefc27305c5111d67bb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseplugin.h')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseplugin.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.h b/src/plugins/vcsbase/vcsbaseplugin.h index 9f5f23442b..bd5c241da0 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.h +++ b/src/plugins/vcsbase/vcsbaseplugin.h @@ -187,10 +187,6 @@ public: QTextCodec *outputCodec = 0, const QProcessEnvironment &env = QProcessEnvironment()); - // Utility to run the 'patch' command - static bool runPatch(const QByteArray &input, const QString &workingDirectory = QString(), - int strip = 0, bool reverse = false); - public slots: // Convenience slot for "Delete current file" action. Prompts to // delete the file via VcsManager. |