Mailing List Archive

[MythTV/mythtv] 06f316: clazy: Use the QString::arg multi-arg overload.
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 06f316b12d6e202b2133efc45d70fc50f2d62e12
https://github.com/MythTV/mythtv/commit/06f316b12d6e202b2133efc45d70fc50f2d62e12
Author: David Hampton <mythtv@love2code.net>
Date: 2023-07-21 (Fri, 21 Jul 2023)

Changed paths:
M mythtv/libs/libmythupnp/httpserver.cpp

Log Message:
-----------
clazy: Use the QString::arg multi-arg overload.

Replace consecutive calls to QString::arg(QString) with a single call
to the QString::arg overload that will print any number of strings.
This overload is more efficient that multiple calls.

https://github.com/KDE/clazy/blob/master/docs/checks/README-qstring-arg.md


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits