mirror of https://code.videolan.org/videolan/vlc
qt: fix deprecated warning in color_scheme_model.cpp
This commit is contained in:
parent
8a8cf4c8fc
commit
65bffbc158
|
@ -60,7 +60,7 @@ bool ColorSchemeModel::setData(const QModelIndex &index,
|
|||
if (role == Qt::CheckStateRole
|
||||
&& checkIndex(index, CheckIndexOption::IndexIsValid)
|
||||
&& index.row() != m_currentIndex
|
||||
&& value.type() == QVariant::Bool
|
||||
&& value.typeId() == QMetaType::Bool
|
||||
&& value.toBool())
|
||||
{
|
||||
setCurrentIndex(index.row());
|
||||
|
|
Loading…
Reference in New Issue