Minor comment and coding style fixes

Minor comment and coding style fixes in ResourceModel and ResourceBrowser.
This commit is contained in:
Tobias Doerffel
2009-10-27 00:33:02 +01:00
parent a6d86bbf66
commit 91cc2d27aa
2 changed files with 5 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public:
// used for drag'n'drop - return proper MIME data for indexes
virtual QMimeData * mimeData( const QModelIndexList & _indexes ) const;
// return ResourceTreeItem belonging to a certain index
// return ResourceItem::Relation belonging to a certain index
static inline ResourceItem::Relation * relation( const QModelIndex & _idx )
{
return static_cast<ResourceItem::Relation *>( _idx.internalPointer() );