summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-19 15:47:26 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-19 15:47:26 -0500
commit7217eca58605fb57b4dd0ffcd7ca4445681ce619 (patch)
treee38171eebe75ade33b056156ad09b43591a747f2 /tdecore
parent947d16dfde60d75d9cc596673cb1be718c8210d0 (diff)
downloadtdelibs-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')
-rw-r--r--tdecore/kurl.cpp6
-rw-r--r--tdecore/kurl.h1
2 files changed, 5 insertions, 2 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;
diff --git a/tdecore/kurl.h b/tdecore/kurl.h
index cb1615cd2..bcb44907e 100644
--- a/tdecore/kurl.h
+++ b/tdecore/kurl.h
@@ -1797,7 +1797,6 @@ private:
TQString m_strPath;
TQString m_strRef_encoded;
TQString m_strQuery_encoded;
- TQString m_strInternalReferenceURL;
bool m_bIsMalformed : 1;
enum URIMode m_iUriMode : 3;
uint freeForUse : 4;