Update obsolete QString::sprintf
ClosedPublic

Authored by gengisdave on Feb 10 2020, 2:41 PM.

Details

Summary

In Qt 5.14, QString::sprintf(const char *, ...) is deprecated in favor of the safer QString::asprintf(const char *, ...).

QString::asprintf(const char *, ...) was introduced in Qt 5.5, no #if guards are needed

Test Plan

Compile and test. The changes impact on packer's multi volume size and percent shown in disk usage panel.

Diff Detail

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gengisdave requested review of this revision.Feb 10 2020, 2:41 PM
gengisdave created this revision.
asensi accepted this revision as: asensi.Feb 19 2020, 10:29 PM
asensi added a subscriber: asensi.

I've been using daily those changes for more than a week and everything looked alright. Other people can do their checks. Thanks, Davide!

This revision is now accepted and ready to land.Feb 19 2020, 10:29 PM
This revision was automatically updated to reflect the committed changes.