Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5784 closed patch (fixed)

libmythupnp: QString efficiency fixing

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

QString can be used more efficiently.

Attachments (1)

libs_libmythupnp-krazy2-QString-efficiency.patch (10.0 KB) - added by Erik Hovland <erik@…> 11 years ago.
Use QString more efficiently

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Erik Hovland <erik@…>

Use QString more efficiently

comment:1 Changed 11 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

(In [18592]) QString efficiency fixes

Use QChar instead of single character strings use .clear() and avoid QString::null Fixes #5784

From: Erik Hovland <erik hovland org>

comment:2 Changed 11 years ago by Nigel

(In [19742]) Use a char (QChar) constant instead of a char*, to prevent a QString promotion (see #5784). Several long-lines un-wrapped.

comment:3 Changed 11 years ago by Nigel

(In [20202]) QString stylistic thingy - clear strings instead of copying the null str. See #5784

Note: See TracTickets for help on using tickets.