summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qunixnativeinterface.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-08-02 17:31:20 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-08-06 14:29:18 +0200
commit47ead6ce2c562712fe0774cab8ee354b795359f6 (patch)
tree7ee0b1ea9c828ce382b4500ead8035f2b8b0f42d /src/gui/platform/unix/qunixnativeinterface.cpp
parentccec95fda6bedb67139e2049320e929a9acd8f2a (diff)
replaceArgEscapes(): use a local variable to avoid duplication
Two blocks of code branched on the same local variable and, in each block, one branch acted on a C-locale text, the other a localized version, but doing the same to each in the two branches. Branch to set a variable to the selected text so that we only have to write the code to do each branch's actions to that one text. Change-Id: I8bbc1210f2c14b19f41a9974c7b6ec2ae612cc70 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions