forked from qt-creator/qt-creator
Mercurial: Save resources, polishing.
Start the jobrunner on demand, save options only if changed, give it the structure used elsewhere in the VCS plugins. Remove last traces of the cmd /c hack.
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QPair>
|
||||
#include <QtCore/QSharedPointer>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QFileInfo;
|
||||
@@ -49,6 +50,7 @@ namespace Mercurial {
|
||||
namespace Internal {
|
||||
|
||||
class MercurialJobRunner;
|
||||
class HgTask;
|
||||
|
||||
class MercurialClient : public QObject
|
||||
{
|
||||
@@ -90,6 +92,7 @@ private slots:
|
||||
private:
|
||||
bool executeHgSynchronously(const QFileInfo &file, const QStringList &args,
|
||||
QByteArray *output=0) const;
|
||||
void enqueueJob(const QSharedPointer<HgTask> &);
|
||||
|
||||
MercurialJobRunner *jobManager;
|
||||
Core::ICore *core;
|
||||
|
||||
Reference in New Issue
Block a user