Skip to content

invalidateFilter is deprecated in SearchModel.cc #729

Description

@azeey

Environment

  • OS Version: macOS
  • Source or binary build? gz-gui10

Observed in #723

/Users/jenkins/jenkins-agent/workspace/gz_gui-ci-pr_any-homebrew-arm64/gz-gui/src/SearchModel.cc:151:9: warning: 'invalidateFilter' is deprecated: Use begin/endFilterChange() instead [-Wdeprecated-declarations]
  151 |   this->invalidateFilter();
      |         ^
/opt/homebrew/lib/QtCore.framework/Headers/qsortfilterproxymodel.h:127:5: note: 'invalidateFilter' has been explicitly marked deprecated here
  127 |     QT_DEPRECATED_VERSION_X_6_13("Use begin/endFilterChange() instead")
      |     ^
/opt/homebrew/lib/QtCore.framework/Headers/qtdeprecationmarkers.h:245:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_13'
  245 | # define QT_DEPRECATED_VERSION_X_6_13(text) QT_DEPRECATED_X(text)
      |                                             ^
/opt/homebrew/lib/QtCore.framework/Headers/qtdeprecationmarkers.h:29:33: note: expanded from macro 'QT_DEPRECATED_X'
   29 | #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
      |                                 ^
/opt/homebrew/lib/QtCore.framework/Headers/qcompilerdetection.h:1011:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
 1011 | #  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions