qtbase/examples/widgets/tools
Joerg Bornemann 9beae46b59 Fix treemodelcompleter example
All nodes in the view were at the top level due to a spurious trimmed()
call.

The condition in the indentation calculation was flipped, leading to a
segfault.  Also, the input data does not contain tabs.  Remove the
condition that checks for tabs altogether.

This amends commit 3fede6cb54.

Fixes: QTBUG-97727
Pick-to: 6.2 5.15
Change-Id: Ic5068ead755c4dae5f0607724ac7704cce03227c
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
2021-10-27 16:34:44 +02:00
..
completer Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
customcompleter Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
echoplugin Add missing LIBRARY DESTINATION for examples 2021-10-20 17:04:51 +02:00
i18n Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
plugandpaint Add missing LIBRARY DESTINATION for examples 2021-10-20 17:04:51 +02:00
regularexpression Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
settingseditor Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
styleplugin Add missing LIBRARY DESTINATION for examples 2021-10-20 17:04:51 +02:00
treemodelcompleter Fix treemodelcompleter example 2021-10-27 16:34:44 +02:00
undo Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
undoframework Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
.prev_CMakeLists.txt
CMakeLists.txt Build examples in isolated sub-builds using ExternalProject 2021-05-26 13:33:29 +02:00
tools.pro