summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2025-01-27 12:18:45 -0800
committerThiago Macieira <thiago.macieira@intel.com>2025-02-13 11:34:06 -0800
commit8379d1e90a3296b3be961878ee31f93ec672f883 (patch)
treec6e2cdfca47407e311fb74e7a08932830990f46f /src/corelib/kernel/qobject.cpp
parent2429c73cc9b421c09e47e1dc59007d1fdc394057 (diff)
QFile: refactor {to,from}FilesystemPath to avoid temporary allocations
Avoiding #ifdef and reinterpret_cast too, to boot. It was already the case on Windows and for fromFilesystemPath everywhere, but now we can also benefit from the QString::toStdString() that also avoids a temporary. Change-Id: Ie4f0a129d0f2f3653046fffd2ec22713a5516ada Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions