Skip to content

Replace functions deprecated in Qt 5.9 and earlier

Jürgen Thomann requested to merge juergenthomann/amarok:master into master

I guess I missed them in a previous clean up of deprecated functions, but now it compiles with -DQT_DISABLE_DEPRECATED_BEFORE=0x050900

There are still places with (from|to)Time_t functions, but they are not used during compilation. I haven't touched them as I am not sure if they should be changed or removed:

  • src/playlistgenerator/constraints/TagMatchComparer.cpp
  • src/context/applets/upcomingevents/UpcomingEventsWidget.cpp
  • src/context/applets/upcomingevents/UpcomingEventsCalendarWidget.cpp

with qSort it is the same at:

  • src/context/applets/labels/LabelsApplet.cpp
  • src/context/engines/tabs/TabsEngine.cpp

Merge request reports