Gerrit: Fix initial refresh

when the fallback host matches the remote.

Change-Id: I2c630739db4b698acdcf51f6b663070cfd5ecc4d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-02-23 12:52:00 +02:00
committed by Orgad Shaneh
parent da3f9379c1
commit f3f5a16f27
2 changed files with 5 additions and 2 deletions

View File

@@ -118,6 +118,7 @@ public:
QString toHtml(const QModelIndex &index) const;
QStandardItem *itemForNumber(int number) const;
QSharedPointer<GerritServer> server() const { return m_server; }
enum QueryState { Idle, Running, Ok, Error };
QueryState state() const { return m_state; }