mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
Use nullptr consistencty instead of 0 and NULL (Qt client)
This commit is contained in:
@@ -158,10 +158,10 @@ QString Formatter::timeToString(int seconds)
|
||||
minutes = (seconds % 3600) / 60;
|
||||
seconds %= 60;
|
||||
|
||||
d = tr("%Ln day(s)", 0, days);
|
||||
h = tr("%Ln hour(s)", 0, hours);
|
||||
m = tr("%Ln minute(s)", 0, minutes);
|
||||
s = tr("%Ln second(s)", 0, seconds);
|
||||
d = tr("%Ln day(s)", nullptr, days);
|
||||
h = tr("%Ln hour(s)", nullptr, hours);
|
||||
m = tr("%Ln minute(s)", nullptr, minutes);
|
||||
s = tr("%Ln second(s)", nullptr, seconds);
|
||||
|
||||
if (days)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user