slint/api/cpp/tests
Olivier Goffart fe38a1e97d C++: Fix and test the reset function on model adapter
They were causing infinite recursion because they were calling
themselves.

Also add the missing MapModel::reset

Yet another motivation for https://github.com/slint-ui/slint/issues/3888
as the code was mixing the `reset` function on the adapter meaning
"please re-apply the adapter filter/map/sort function" with the `reset`
function on Model which means "the subclass has changed and we should
notify listeners".

Fixes #4968
2024-03-28 11:11:57 +01:00
..
multiple-includes reuse: remove glob for markdown files 2023-08-17 08:55:28 +02:00
CMakeLists.txt Fix SharedString::end() throwing an exception when MSVC iterator debugging is enabled (#4017) 2023-11-27 18:11:55 +01:00
datastructures.cpp Fix SharedString::end() throwing an exception when MSVC iterator debugging is enabled (#4017) 2023-11-27 18:11:55 +01:00
eventloop.cpp core: Do not report singleshot timers set up via start() as running 2023-11-30 20:14:45 +01:00
interpreter.cpp C++ Interpreter: Add support for setting the translation domain 2024-02-22 16:58:38 +01:00
models.cpp C++: Fix and test the reset function on model adapter 2024-03-28 11:11:57 +01:00
platform_eventloop.cpp Introduce slint::run_event_loop_until_quit 2024-01-11 13:52:02 +01:00
properties.cpp Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
test.slint Introduce slint::run_event_loop_until_quit 2024-01-11 13:52:02 +01:00
window.cpp C++: rename slint_intepreter.h to slint-interpreter.h 2023-07-27 15:42:11 +02:00