|
|
@ -2995,7 +2995,7 @@ TQString CurrentTrackJob::statsHTML( int score, int rating, bool statsbox ) //st
|
|
|
|
fullStarIO.setFormat( "PNG" );
|
|
|
|
fullStarIO.setFormat( "PNG" );
|
|
|
|
TQBuffer fullStarBuf;
|
|
|
|
TQBuffer fullStarBuf;
|
|
|
|
fullStarBuf.open( IO_WriteOnly );
|
|
|
|
fullStarBuf.open( IO_WriteOnly );
|
|
|
|
fullStarIO.setIODevice( TQT_TQIODEVICE(&fullStarBuf) );
|
|
|
|
fullStarIO.setIODevice( &fullStarBuf );
|
|
|
|
fullStarIO.write();
|
|
|
|
fullStarIO.write();
|
|
|
|
fullStarBuf.close();
|
|
|
|
fullStarBuf.close();
|
|
|
|
TQCString fullStar = KCodecs::base64Encode( fullStarBuf.buffer(), true );
|
|
|
|
TQCString fullStar = KCodecs::base64Encode( fullStarBuf.buffer(), true );
|
|
|
@ -3010,7 +3010,7 @@ TQString CurrentTrackJob::statsHTML( int score, int rating, bool statsbox ) //st
|
|
|
|
halfStarIO.setFormat( "PNG" );
|
|
|
|
halfStarIO.setFormat( "PNG" );
|
|
|
|
TQBuffer halfStarBuf;
|
|
|
|
TQBuffer halfStarBuf;
|
|
|
|
halfStarBuf.open( IO_WriteOnly );
|
|
|
|
halfStarBuf.open( IO_WriteOnly );
|
|
|
|
halfStarIO.setIODevice( TQT_TQIODEVICE(&halfStarBuf) );
|
|
|
|
halfStarIO.setIODevice( &halfStarBuf );
|
|
|
|
halfStarIO.write();
|
|
|
|
halfStarIO.write();
|
|
|
|
halfStarBuf.close();
|
|
|
|
halfStarBuf.close();
|
|
|
|
TQCString halfStar = KCodecs::base64Encode( halfStarBuf.buffer(), true );
|
|
|
|
TQCString halfStar = KCodecs::base64Encode( halfStarBuf.buffer(), true );
|
|
|
|