b2c5a02313
through the tree.
12 lines
631 B
Diff
12 lines
631 B
Diff
--- kdelibs/kio/kio/kdirmodel.cpp 2008/05/27 15:27:46 813403
|
|
+++ kdelibs/kio/kio/kdirmodel.cpp 2008/05/27 15:27:57 813404
|
|
@@ -184,7 +184,7 @@
|
|
return qMakePair(row, *it);
|
|
}
|
|
// This used to be urlStr.startsWith(u.url()+'/'), but KUrl::url() is a slow operation.
|
|
- if ( pathStr.startsWith(u.path()+'/') ) {
|
|
+ if ( (url.protocol() == u.protocol()) && (pathStr.startsWith(u.path()+'/')) ) {
|
|
//kDebug(7008) << "going into " << node->item().url();
|
|
Q_ASSERT( isDir(*it) );
|
|
dirNode = static_cast<KDirModelDirNode *>( *it );
|