diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2019-08-15 08:49:50 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2019-08-16 08:49:40 +0000 |
commit | eaf8ccf11840275515deff4a916cd0af9e016cea (patch) | |
tree | 4566e2096e2aa8be09f30273345ff0e80db70e93 /src/plugins/diffeditor/diffeditorcontroller.h | |
parent | 2b650f713afdae640554e055d9fd913dd238676a (diff) |
Git: Fix branch expansion on show before the diff display is done
The description is shown first (with the <Expand> placeholder), and the
diff parsing can be long. If <Expand> is clicked during parsing, it fails
because the base directory is not set yet.
Change-Id: Ib5e839b292c32091c726f24eb643d0fa5a142cb7
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorcontroller.h')
-rw-r--r-- | src/plugins/diffeditor/diffeditorcontroller.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/diffeditor/diffeditorcontroller.h b/src/plugins/diffeditor/diffeditorcontroller.h index 4578a7f82a..b32537c0e4 100644 --- a/src/plugins/diffeditor/diffeditorcontroller.h +++ b/src/plugins/diffeditor/diffeditorcontroller.h @@ -48,6 +48,7 @@ public: bool isReloading() const; QString baseDirectory() const; + void setBaseDirectory(const QString &directory); int contextLineCount() const; bool ignoreWhitespace() const; |