Compile with Qt 6

Change-Id: I6d8d562a871a2f49db5db8630a08f53a14c0f7d3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Lars Knoll 2019-04-30 14:43:13 +02:00
parent c7a5cdb98c
commit 1e4042d03f
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}