Disable use of Qt APIs deprecated in 5.15.0 and earlier versions (#4133)

This commit is contained in:
kornes
2022-11-10 19:11:40 +00:00
committed by GitHub
parent 3303cdc0cb
commit fbfa5e0f41
21 changed files with 36 additions and 36 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ void NotificationPopup::updatePosition()
{
Location location = BottomRight;
QDesktopWidget *desktop = QApplication::desktop();
const QRect rect = desktop->availableGeometry();
const QRect rect = QGuiApplication::primaryScreen()->availableGeometry();
switch (location)
{