[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/stable/extragear/multimedia/amarok/src
From: Jeff Mitchell <kde-dev () emailgoeshere ! com>
Date: 2007-02-28 21:45:05
Message-ID: 1172699105.754166.17769.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 638113 by mitchell:
As discussed, make the first rating star tri-state.
M +2 -2 collectiondb.cpp
--- branches/stable/extragear/multimedia/amarok/src/collectiondb.cpp #638112:638113
@@ -3798,9 +3798,9 @@
bool ok = true;
int prev = values[4].toInt( &ok );
- if( ok && toggleHalf && prev == rating )
+ if( ok && toggleHalf && ( prev == rating || prev == 1 ) )
{
- if( rating == 1 )
+ if( prev == 1 )
rating = 0;
else if( rating % 2 ) //.5
rating++;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic