Ignore:
Timestamp:
01/09/08 12:40:44 (4 years ago)
Author:
sander
Message:

Minor changes, might help the compiler optimize some things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/musiclibraryitem.cpp

    r19 r46  
    77{ 
    88    this->_type = type; 
     9    this->_file = NULL; 
    910    parentItem = parent; 
    1011    itemData = data; 
     
    1617} 
    1718 
    18 void MusicLibraryItem::appendChild(MusicLibraryItem *item) 
     19void MusicLibraryItem::appendChild(MusicLibraryItem * const item) 
    1920{ 
    2021    childItems.append(item); 
    2122} 
    2223 
    23 MusicLibraryItem *MusicLibraryItem::child(int row) 
     24MusicLibraryItem * MusicLibraryItem::child(int row) 
    2425{ 
    2526    return childItems.value(row); 
     
    4142} 
    4243 
    43 MusicLibraryItem *MusicLibraryItem::parent() 
     44MusicLibraryItem *MusicLibraryItem::parent() const 
    4445{ 
    4546    return parentItem; 
    4647} 
    4748 
    48 void MusicLibraryItem::setParent(MusicLibraryItem *parent) 
     49void MusicLibraryItem::setParent(MusicLibraryItem * const parent) 
    4950{ 
    5051    parentItem = parent; 
Note: See TracChangeset for help on using the changeset viewer.