mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-17 13:37:18 +03:00
typo
This commit is contained in:
parent
c985a5d1ce
commit
bd09d302b8
@ -57,7 +57,7 @@ void RecentRepositories::add(QString gitpath) {
|
||||
RecentRepository *repo = new RecentRepository(gitpath, this);
|
||||
auto it = std::remove_if(mRepos.begin(), end, [repo](RecentRepository *rhs) {
|
||||
#ifdef Q_OS_WIN
|
||||
return repo - gitpath().compare(rhs->gitpath(), Qt::CaseInsensitive) == 0;
|
||||
return repo->gitpath().compare(rhs->gitpath(), Qt::CaseInsensitive) == 0;
|
||||
#else
|
||||
return (repo->gitpath() == rhs->gitpath());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user