From ce24dfa378cca1f09d944fe1d50ae1f73ac0df7f Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Wed, 25 Aug 2010 18:12:03 +0200 Subject: VCS[git]: Ensure that only one branch is selected at a time --- src/plugins/git/branchdialog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/git/branchdialog.h') diff --git a/src/plugins/git/branchdialog.h b/src/plugins/git/branchdialog.h index ac85c4c25a..bf21a746e3 100644 --- a/src/plugins/git/branchdialog.h +++ b/src/plugins/git/branchdialog.h @@ -31,6 +31,7 @@ #define BRANCHDIALOG_H #include +#include QT_BEGIN_NAMESPACE class QPushButton; @@ -64,7 +65,7 @@ public slots: void refresh(const QString &repository, bool force); private slots: - void slotEnableButtons(); + void slotEnableButtons(const QItemSelection &selected = QItemSelection()); void slotCheckoutSelectedBranch(); void slotDeleteSelectedBranch(); void slotDiffSelected(); -- cgit v1.2.1