Commit 4c0a212b authored by Adriaan de Groot's avatar Adriaan de Groot

[partition] Warnings-- (Qt 5.14)

QVariant::fromValue doesn't have *since* documentation, so I expect it to be 5.6-and-later.
parent 27d4fa67
......@@ -241,7 +241,7 @@ PartitionModel::data( const QModelIndex& index, int role ) const
return partition->partitionPath();
case PartitionPtrRole:
return qVariantFromValue( (void*)partition );
return QVariant::fromValue( (void*)partition );
// Osprober roles:
case OsproberNameRole:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment