rem: if ( decimal ) time.sprintf("%.2f", minutes / 60.0);
add: if ( decimal ) { time.sprintf("%.2f", minutes / 60.0); time.replace( '.', KGlobal::locale()->decimalSymbol() ); }
context: QString formatTime( long minutes, bool decimal ){  QString time;  if ( decimal ) time.sprintf("%.2f", minutes / 60.0);  else time.sprintf("%ld:%02ld", minutes / 60, labs(minutes % 60));  return time;}