QVariant: Fix wrong return type in toPersistentModelIndex()
Change-Id: I53afa712d38ec6a41fce77474acccf9c587ea6a8 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>bb10
parent
12f684ed5f
commit
dde8c6f77e
|
|
@ -2536,7 +2536,7 @@ QModelIndex QVariant::toModelIndex() const
|
|||
|
||||
\sa canConvert(), convert(), toModelIndex()
|
||||
*/
|
||||
QModelIndex QVariant::toPersistentModelIndex() const
|
||||
QPersistentModelIndex QVariant::toPersistentModelIndex() const
|
||||
{
|
||||
return qVariantToHelper<QPersistentModelIndex>(d, handlerManager);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ class Q_CORE_EXPORT QVariant
|
|||
QEasingCurve toEasingCurve() const;
|
||||
QUuid toUuid() const;
|
||||
QModelIndex toModelIndex() const;
|
||||
QModelIndex toPersistentModelIndex() const;
|
||||
QPersistentModelIndex toPersistentModelIndex() const;
|
||||
QJsonValue toJsonValue() const;
|
||||
QJsonObject toJsonObject() const;
|
||||
QJsonArray toJsonArray() const;
|
||||
|
|
|
|||
Loading…
Reference in New Issue