forked from qt-creator/qt-creator
Git: Replace lambdas with std::bind
Reduces release build from by ~5K (255->250), and slightly shorter. Change-Id: I326297b08374fe34cdd2dd05db3b978ae7775e06 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
1bc2610b0b
commit
1af52db32e
@@ -89,7 +89,7 @@ public:
|
||||
bool isCommitEditorOpen() const;
|
||||
static QString msgRepositoryLabel(const QString &repository);
|
||||
static QString invalidBranchAndRemoteNamePattern();
|
||||
void startCommit();
|
||||
void startCommit(CommitType commitType = SimpleCommit);
|
||||
void updateBranches(const QString &repository);
|
||||
|
||||
protected:
|
||||
@@ -128,8 +128,6 @@ private:
|
||||
void applyCurrentFilePatch();
|
||||
void promptApplyPatch();
|
||||
|
||||
void startAmendCommit();
|
||||
void startFixupCommit();
|
||||
void stash(bool unstagedOnly = false);
|
||||
void stashUnstaged();
|
||||
void stashSnapshot();
|
||||
@@ -160,11 +158,6 @@ private:
|
||||
Core::Id id, const Core::Context &context, bool addToLocator,
|
||||
const std::function<void()> &callback,
|
||||
const QKeySequence &keys = QKeySequence());
|
||||
QAction *createFileAction(Core::ActionContainer *ac,
|
||||
const QString &defaultText, const QString ¶meterText,
|
||||
Core::Id id, const Core::Context &context, bool addToLocator,
|
||||
void (GitPlugin::*func)(),
|
||||
const QKeySequence &keys = QKeySequence());
|
||||
|
||||
QAction *createProjectAction(Core::ActionContainer *ac,
|
||||
const QString &defaultText, const QString ¶meterText,
|
||||
@@ -188,7 +181,6 @@ private:
|
||||
void cleanCommitMessageFile();
|
||||
void cleanRepository(const QString &directory);
|
||||
void applyPatch(const QString &workingDirectory, QString file = QString());
|
||||
void startCommit(CommitType commitType);
|
||||
void updateVersionWarning();
|
||||
|
||||
Core::CommandLocator *m_commandLocator = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user