mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-19 06:29:10 +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);
|
RecentRepository *repo = new RecentRepository(gitpath, this);
|
||||||
auto it = std::remove_if(mRepos.begin(), end, [repo](RecentRepository *rhs) {
|
auto it = std::remove_if(mRepos.begin(), end, [repo](RecentRepository *rhs) {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
return repo - gitpath().compare(rhs->gitpath(), Qt::CaseInsensitive) == 0;
|
return repo->gitpath().compare(rhs->gitpath(), Qt::CaseInsensitive) == 0;
|
||||||
#else
|
#else
|
||||||
return (repo->gitpath() == rhs->gitpath());
|
return (repo->gitpath() == rhs->gitpath());
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user