Gerrit: Append " (Draft)" to draft changes

Similar to the web UI.

Change-Id: I596a116a85536c010089afd9c8a0686a75d29dde
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-01-28 22:53:21 +02:00
committed by Orgad Shaneh
parent af82202274
commit b2b1f6bec1
2 changed files with 13 additions and 4 deletions

View File

@@ -69,6 +69,7 @@ public:
bool isValid() const { return number && !url.isEmpty() && !project.isEmpty(); }
QString filterString() const;
QStringList gitFetchArguments(const GerritServer &server) const;
QString fullTitle() const; // title with potential "Draft" specifier
QString url;
int number = 0;