-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clazy: Combine multiple calls to QString::arg in mythnews.
Each call to QString::arg causes the Qt libraries to scan the string to find the lowest numbered place marker, and it causes a memory allocate to store the resulting integrated string. Consecutive calls to ::arg with string arguments can be combined into a single call, thus reducing the number of required string scans and (more importantly) memory allocations.
- Loading branch information
1 parent
2939645
commit e26e39d
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters