[nostalgia/studio] Replace deprecated call for Qt 5.15
This commit is contained in:
parent
4d806021d0
commit
f86d0e697a
@ -143,7 +143,7 @@ QVariant OxFSModel::data(const QModelIndex &index, int role) const {
|
||||
|
||||
Qt::ItemFlags OxFSModel::flags(const QModelIndex &index) const {
|
||||
if (!index.isValid()) {
|
||||
return 0;
|
||||
return {};
|
||||
} else {
|
||||
return QAbstractItemModel::flags(index);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user