forked from qt-creator/qt-creator
Git: Add override
Change-Id: Iae0779c1efa8b3b46cf504f7bda00d614a4a157e Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
aedfbd5710
commit
4eb2224f47
@@ -48,13 +48,13 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
QString trackFile(const QString &repository)
|
||||
QString trackFile(const QString &repository) override
|
||||
{
|
||||
const QString gitDir = m_client->findGitDirForRepository(repository);
|
||||
return gitDir.isEmpty() ? QString() : (gitDir + QLatin1String("/HEAD"));
|
||||
}
|
||||
|
||||
QString refreshTopic(const QString &repository)
|
||||
QString refreshTopic(const QString &repository) override
|
||||
{
|
||||
return m_client->synchronousTopic(repository);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user