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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Andrew Turner <andrewturner512+kdebugs () googlemail ! com>
Date:       2007-01-09 14:31:01
Message-ID: 1168353061.191706.19669.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 621691 by aturner:

Limit score display in track tooltip (of tray icon) to 2 decimal places. It was using 6
for me. Even 2dp still seems a bit excessive.


 M  +1 -1      tracktooltip.cpp  


--- trunk/extragear/multimedia/amarok/src/tracktooltip.cpp #621690:621691
@@ -102,7 +102,7 @@
                 const float score = CollectionDB::instance()->getSongPercentage( tags.url().path() );
                 if( score > 0.f )
                 {
-                    right << QString::number( score, 'i' );
+                    right << QString::number( score, 'f', 2 );  // 2 digits after decimal point
                     left << playlist->columnText( column );
                 }
             }
[prev in list] [next in list] [prev in thread] [next in thread] 

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