Task #91186 - fixed.err

back to task #91186
download
Error: COMPILER_WARNING (CWE-477):
kiconthemes-6.18.0/src/widgets/kicondialog.cpp: scope_hint: In member function ‘void KIconDialogSortFilterProxyModel::setSymbolicIcons(SymbolicIcons)’
kiconthemes-6.18.0/src/widgets/kicondialog.cpp:75:21: warning[-Wdeprecated-declarations]: ‘void QSortFilterProxyModel::invalidateFilter()’ is deprecated: Use begin/endFilterChange() instead
#   75 |     invalidateFilter();
#      |     ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/QSortFilterProxyModel:1: included_from: Included from here.
kiconthemes-6.18.0/src/widgets/kicondialog_p.h:18: included_from: Included from here.
kiconthemes-6.18.0/src/widgets/kicondialog.cpp:14: included_from: Included from here.
/usr/include/qt6/QtCore/qsortfilterproxymodel.h:128:10: note: declared here
#  128 |     void invalidateFilter();
#      |          ^~~~~~~~~~~~~~~~
#   73|   
#   74|       m_symbolicIcons = symbolicIcons;
#   75|->     invalidateFilter();
#   76|   }
#   77|   

Error: COMPILER_WARNING (CWE-477):
kiconthemes-6.18.0/src/widgets/kicondialog.cpp: scope_hint: In member function ‘void KIconDialogSortFilterProxyModel::setHasSymbolicIcon(bool)’
kiconthemes-6.18.0/src/widgets/kicondialog.cpp:85:21: warning[-Wdeprecated-declarations]: ‘void QSortFilterProxyModel::invalidateFilter()’ is deprecated: Use begin/endFilterChange() instead
#   85 |     invalidateFilter();
#      |     ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qsortfilterproxymodel.h:128:10: note: declared here
#  128 |     void invalidateFilter();
#      |          ^~~~~~~~~~~~~~~~
#   83|   
#   84|       m_hasSymbolicIcon = hasSymbolicIcon;
#   85|->     invalidateFilter();
#   86|   }
#   87|