qt6-bb10/examples/sql/masterdetail
Christian Ehrlicher 2987e96a6c Examples/Sql/Masterdetail: Fix deleting rows
Completely deleting a row in a QSqlTableModel needs a call to select()
afterwards, otherwise a blank column will stay according the
documentation of QSqlTableModel::removeRows()
Also add albumdetails.xml to the resource file to make sure it's found
during runtime.

Task-number: QTBUG-128434
Change-Id: Ie5cc38edfa27984d186467e3372b05987f78d14c
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 5a28fe86af30bd3293f49ad09ee9c044e06ccbe3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-08 10:08:28 +00:00
..
images Doc: Update image, icon and screenshot for SQL example application 2018-05-22 12:06:22 +00:00
CMakeLists.txt Examples/Sql/Masterdetail: Fix deleting rows 2024-09-08 10:08:28 +00:00
albumdetails.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
database.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dialog.cpp Examples/Sql/Masterdetail: Fix deleting rows 2024-09-08 10:08:28 +00:00
dialog.h SQL examples: code cleanup 2024-01-14 09:32:04 +01:00
main.cpp Examples/Sql/Masterdetail: Fix deleting rows 2024-09-08 10:08:28 +00:00
mainwindow.cpp Examples/Sql/Masterdetail: Fix deleting rows 2024-09-08 10:08:28 +00:00
mainwindow.h SQL examples: code cleanup 2024-01-14 09:32:04 +01:00
masterdetail.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
masterdetail.qrc Examples/Sql/Masterdetail: Fix deleting rows 2024-09-08 10:08:28 +00:00