Changeset 17 for lib/song.cpp
- Timestamp:
- 12/30/07 20:55:36 (4 years ago)
- File:
-
- 1 edited
-
lib/song.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lib/song.cpp
r15 r17 5 5 id = -1; 6 6 time = 0; 7 track = 0;7 track = -1; 8 8 pos = 0; 9 9 } 10 11 bool Song::isEmpty() const 12 { 13 return (artist.isEmpty() && album.isEmpty() && title.isEmpty()); 14 } 15 16 void Song::fillEmptyFields() 17 { 18 if(artist.isEmpty()) 19 artist = "<Unknown>"; 20 21 if(album.isEmpty()) 22 album = "<Unknown>"; 23 24 if(title.isEmpty()) 25 title = "<Unknown>"; 26 }
Note: See TracChangeset
for help on using the changeset viewer.
