[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Gábor Lehel <illissius () gmail ! com>
Date:       2006-03-31 20:34:43
Message-ID: 1143837283.761164.19970.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 525109 by illissius:

allow .5 ratings
way it works is if you click again on the last star in the rating, you toggle it \
between a small (half) star and a full one as a plus, since there's no such rating as \
0.5, if you click again on a rating of 1, it'll get unset, so there's an easy way to \
unrate songs now two things were a major pain in the ass:
- QPixmaps and transparency (i should've expected this)
- since I didn't want people's existing ratings to suddenly get halved, I had to go \
with a model where an m_rating == 1 to 5 means that rating literally, 6 means 1.5, 7 \
means 2.5, and so, instead of just storing double the rating, as I would've liked. \
this caused all sorts of complications... in hindsight, it might've been easier to \
just migrate all the old ratings over somehow (but hindsight, 20/20, and all).


 M  +2 -2      collectiondb.cpp  
 M  +30 -8     metabundle.cpp  
 M  +2 -1      metabundle.h  
 M  +3 -3      osd.cpp  
 M  +44 -10    playlist.cpp  
 M  +37 -15    playlistitem.cpp  
 M  +4 -0      playlistitem.h  
 M  +12 -3     tagdialog.cpp  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic