Git: Double click on branch shows log

...instead of allowing to rename inline. Renaming can still be done with
the context menu.

Inspecting the log is a more common operation.

Change-Id: Idb3fb8fe01b6a5ae57a2eba09b27a36f677e566a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Nikolai Kosjar
2018-09-26 15:06:24 +02:00
committed by Orgad Shaneh
parent d982c362c1
commit 8b93eee3b1
3 changed files with 13 additions and 9 deletions

View File

@@ -31,6 +31,7 @@
#include <QWidget>
QT_BEGIN_NAMESPACE
class QModelIndex;
class QPoint;
class QToolButton;
class QTreeView;
@@ -79,6 +80,7 @@ private:
bool merge(bool allowFastForward);
void rebase();
bool cherryPick();
void log(const QModelIndex &idx);
QToolButton *m_addButton = nullptr;
QToolButton *m_refreshButton = nullptr;