summaryrefslogtreecommitdiff
path: root/src/plugins/git/logchangedialog.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-11-19 16:48:37 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-11-23 14:48:09 +0000
commit7b3aa16dc665e3af788c1cff3945438c8a8abd05 (patch)
tree1179eeba2dffc19f58dfb4cda796e2a0f6095f5a /src/plugins/git/logchangedialog.h
parent8f8c1052a2ccec0d1bbcdcf94a0346ae3609a3e0 (diff)
downloadqt-creator-7b3aa16dc665e3af788c1cff3945438c8a8abd05.tar.gz
Git: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I60dcd378419b92f96dc681921701c9231ef8ee57 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/logchangedialog.h')
-rw-r--r--src/plugins/git/logchangedialog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/git/logchangedialog.h b/src/plugins/git/logchangedialog.h
index 5b2000f979..9aa345ad95 100644
--- a/src/plugins/git/logchangedialog.h
+++ b/src/plugins/git/logchangedialog.h
@@ -72,12 +72,11 @@ public:
void setItemDelegate(QAbstractItemDelegate *delegate);
signals:
- void activated(const QString &commit);
-
-private slots:
- void emitActivated(const QModelIndex &index);
+ void commitActivated(const QString &commit);
private:
+ void emitCommitActivated(const QModelIndex &index);
+
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override;
bool populateLog(const QString &repository, const QString &commit, LogFlags flags);
const QStandardItem *currentItem(int column = 0) const;