summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/code
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-10-17 19:32:54 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2018-11-01 15:05:59 +0000
commit30101884a6f3ab2f3d4d11426373eca3fca10652 (patch)
tree2576c96031b72937cb265dd9041b60c1dd0b0e68 /src/gui/doc/snippets/code
parent779a73762de6addb2a2e3fee5b98d00d64101b92 (diff)
Simplify tst_Selftests::compareLine by handling the trivial case first
If the two lines have identical texts, the comparison returns true. So don't complicate various other conditions on the way there with filtering out that case; deal with it first so they don't need to. Change-Id: Iebd230704ce5f53d12d5afa64aab30f83bb9d407 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions