qtbase/examples/sql/masterdetail
Christian Ehrlicher 5a28fe86af 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.

Pick-to: 6.8
Task-number: QTBUG-128434
Change-Id: Ie5cc38edfa27984d186467e3372b05987f78d14c
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-09-07 23:12:43 +02:00
..
images
CMakeLists.txt Examples/Sql/Masterdetail: Fix deleting rows 2024-09-07 23:12:43 +02:00
albumdetails.xml
database.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dialog.cpp Examples/Sql/Masterdetail: Fix deleting rows 2024-09-07 23:12:43 +02: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-07 23:12:43 +02:00
mainwindow.cpp Examples/Sql/Masterdetail: Fix deleting rows 2024-09-07 23:12:43 +02:00
mainwindow.h SQL examples: code cleanup 2024-01-14 09:32:04 +01:00
masterdetail.pro
masterdetail.qrc Examples/Sql/Masterdetail: Fix deleting rows 2024-09-07 23:12:43 +02:00