forked from qt-creator/qt-creator
Gerrit: Refresh server details also when authenticated is changed
For example, if the server was not authenticated, and .netrc was edited outside Qt Creator. Change-Id: Ib28b6e924e3fab958410da49ceb45ed4269e195b Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
dac9dff459
commit
b3b36f7d2a
@@ -97,7 +97,8 @@ bool GerritServer::operator==(const GerritServer &other) const
|
||||
{
|
||||
if (port && other.port && port != other.port)
|
||||
return false;
|
||||
return host == other.host && user.isSameAs(other.user) && type == other.type;
|
||||
return host == other.host && user.isSameAs(other.user) && type == other.type
|
||||
&& authenticated == other.authenticated;
|
||||
}
|
||||
|
||||
QString GerritServer::defaultHost()
|
||||
|
Reference in New Issue
Block a user