summaryrefslogtreecommitdiff
path: root/src/plugins/git/branchdialog.h
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2010-08-25 18:12:03 +0200
committerRobert Loehning <robert.loehning@nokia.com>2010-08-27 15:52:16 +0200
commitce24dfa378cca1f09d944fe1d50ae1f73ac0df7f (patch)
tree4e92e775978636378b1366b0c18e67b656454209 /src/plugins/git/branchdialog.h
parenta7bb5f2541124d512bd25cb46ed87ddcaeda4739 (diff)
downloadqt-creator-ce24dfa378cca1f09d944fe1d50ae1f73ac0df7f.tar.gz
VCS[git]: Ensure that only one branch is selected at a time
Diffstat (limited to 'src/plugins/git/branchdialog.h')
-rw-r--r--src/plugins/git/branchdialog.h3
1 files changed, 2 insertions, 1 deletions
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 <QtGui/QDialog>
+#include <QtGui/QItemSelection>
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();