LocalResourcesProvider: do not include own name in path-property of

directory items and fixed usage of ResourcesItem::fullName() - makes
format of XML cache file more consistent and also speeds up string
comparisonswhen filtering
This commit is contained in:
Tobias Doerffel
2009-03-10 18:48:46 +01:00
parent 5976ab5ce2
commit 2d7b1f1211
3 changed files with 13 additions and 12 deletions

View File

@@ -111,11 +111,12 @@ public:
QString fullName( void ) const
{
if( m_type == TypeDirectory )
{
return fullPath();
}
return fullPath()+name();
return fullPath() + name();
}
QString fullRelativeName( void ) const
{
return path() + name();
}
const QString & hash( void ) const