qt5base-lts/examples
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
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Doc: Centralize RFC documentation-links in rfc.qdoc 2021-09-16 15:52:27 +02:00
dbus Remove .qmake.conf from this repository 2021-09-20 19:00:05 +02:00
embedded Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
gui Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
network Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
opengl Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
qmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qpa Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
qtconcurrent Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
qtestlib Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
sql SQL browser example: fix typo 2021-09-02 15:45:16 +00:00
vulkan Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
widgets Fix treemodelcompleter example 2021-10-27 16:34:44 +02:00
xml Raise cmake_minimum_required to VERSION 3.16 in examples 2021-08-17 19:18:54 +02:00
CMakeLists.txt Build examples in isolated sub-builds using ExternalProject 2021-05-26 13:33:29 +02:00
examples.pro Turn off the dbus examples for qmake-generated VS projects 2021-02-09 15:45:06 +01:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.