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> |
||
|---|---|---|
| .. | ||
| images | ||
| CMakeLists.txt | ||
| albumdetails.xml | ||
| database.h | ||
| dialog.cpp | ||
| dialog.h | ||
| main.cpp | ||
| mainwindow.cpp | ||
| mainwindow.h | ||
| masterdetail.pro | ||
| masterdetail.qrc | ||