diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-04-19 15:47:26 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-04-19 15:47:26 -0500 |
commit | 7217eca58605fb57b4dd0ffcd7ca4445681ce619 (patch) | |
tree | e38171eebe75ade33b056156ad09b43591a747f2 /tdecore/kurl.cpp | |
parent | 947d16dfde60d75d9cc596673cb1be718c8210d0 (diff) | |
download | tdelibs-7217eca58605fb57b4dd0ffcd7ca4445681ce619.tar.gz tdelibs-7217eca58605fb57b4dd0ffcd7ca4445681ce619.zip |
Fix KDirLister failure to emit events for all watchers of a given path
Fix KURL comparison
Diffstat (limited to 'tdecore/kurl.cpp')
-rw-r--r-- | tdecore/kurl.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tdecore/kurl.cpp b/tdecore/kurl.cpp index a0e61ad32..7d9c3f5a6 100644 --- a/tdecore/kurl.cpp +++ b/tdecore/kurl.cpp @@ -1140,6 +1140,9 @@ bool KURL::operator<( const KURL& _u) const i = m_strPass.compare(_u.m_strPass); if (i) return (i < 0); + i = d->m_strInternalReferenceURL.compare(_u.d->m_strInternalReferenceURL); + if (i) return (i < 0); + return false; } @@ -1196,7 +1199,8 @@ bool KURL::equals( const KURL &_u, bool ignore_trailing ) const m_strHost == _u.m_strHost && m_strQuery_encoded == _u.m_strQuery_encoded && m_strRef_encoded == _u.m_strRef_encoded && - m_iPort == _u.m_iPort ) + m_iPort == _u.m_iPort && + d->m_strInternalReferenceURL == _u.d->m_strInternalReferenceURL ) return true; return false; |