mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #800 Removed pointless casts and conversions.
This commit is contained in:
committed by
Klaus Basan
parent
95a82f37a0
commit
a44ffcbe79
@@ -109,7 +109,7 @@ namespace BlackGui
|
||||
{
|
||||
if (dataCVariant.canConvert<int>())
|
||||
{
|
||||
int coverage = dataCVariant.value<double>();
|
||||
int coverage = dataCVariant.value<int>();
|
||||
QString formattedString = QString::number(coverage) + " %";
|
||||
return formattedString;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user