Replace sprintf with QString::asprintf

Authored by nicolasfella on May 12 2019, 4:35 PM.

Description

Replace sprintf with QString::asprintf

Summary: sprintf is marked as obsolete (https://doc.qt.io/qt-5/qstring-obsolete.html#sprintf) and causes a build fail against current Qt dev. Use asprintf instead

Test Plan: Ran ctest. impp test is failing, but it did before as well

Reviewers: KDE PIM, vkrause

Reviewed By: KDE PIM, vkrause

Subscribers: winterz, vkrause, kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D21158

Details

Committed
nicolasfellaMay 13 2019, 10:46 AM
Reviewer
KDE PIM
Differential Revision
D21158: Replace sprintf with QString::asprintf
Parents
R174:f79c988b462c: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown