Skip to content

Replace depracated QApplication::desktop functions

Antenore Gatta requested to merge antenore/krdc:master into master

I've replaced deprecated functions like QApplication::desktop()->screenGeometry() with the ones from QGuiApplication.

I've done some tests, and it seems to work properly.

As mentioned at #4 (comment 433301) there are some use cases that need attention, but it shouldn't be done in the scope of this MR as the problem exists as well with the deprecated functions.

Merge request reports