Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
4_1_BRANCH_r891650.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4_1_BRANCH_r891650.diff of Package kdelibs4
--- kio/kio/kdirmodel.cpp.orig 2009-01-08 00:20:45.000000000 +0000 +++ kio/kio/kdirmodel.cpp 2009-01-08 00:21:54.000000000 +0000 @@ -674,7 +674,11 @@ int KDirModel::rowCount( const QModelIndex & parent ) const { - KDirModelDirNode* parentNode = static_cast<KDirModelDirNode *>(d->nodeForIndex(parent)); + KDirModelNode* node = d->nodeForIndex(parent); + if (!node || !d->isDir(node)) // #176555 + return 0; + + KDirModelDirNode* parentNode = static_cast<KDirModelDirNode *>(node); Q_ASSERT(parentNode); const int count = parentNode->m_childNodes.count(); #if 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor