Compile with Qt 6
Change-Id: I6d8d562a871a2f49db5db8630a08f53a14c0f7d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
parent
c7a5cdb98c
commit
1e4042d03f
|
|
@ -50,6 +50,7 @@
|
|||
#include "qsqltablemodel_p.h"
|
||||
|
||||
#include <qdebug.h>
|
||||
#include <qstringlistmodel.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
|
@ -611,7 +612,7 @@ bool QSqlTableModel::setData(const QModelIndex &index, const QVariant &value, in
|
|||
/*!
|
||||
\reimp
|
||||
*/
|
||||
bool QStringListModel::clearItemData(const QModelIndex &index)
|
||||
bool QSqlTableModel::clearItemData(const QModelIndex &index)
|
||||
{
|
||||
return setData(index, QVariant(), Qt::EditRole);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue