diff options
author | Robert Loehning <robert.loehning@nokia.com> | 2010-08-25 18:12:03 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@nokia.com> | 2010-08-27 15:52:16 +0200 |
commit | ce24dfa378cca1f09d944fe1d50ae1f73ac0df7f (patch) | |
tree | 4e92e775978636378b1366b0c18e67b656454209 /src/plugins/git/branchdialog.h | |
parent | a7bb5f2541124d512bd25cb46ed87ddcaeda4739 (diff) | |
download | qt-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.h | 3 |
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(); |