diff options
Diffstat (limited to 'src/notificationpopup.h')
-rw-r--r-- | src/notificationpopup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notificationpopup.h b/src/notificationpopup.h index 5269326..a402ecd 100644 --- a/src/notificationpopup.h +++ b/src/notificationpopup.h @@ -95,7 +95,7 @@ public: protected slots: void animateIn(int screenNumber) { - QRect screenRect = QGuiApplication::screens().at(screenNumber)->geometry(); + QRect screenRect = QGuiApplication::screens().at(screenNumber)->availableGeometry(); int x = (screenRect.x() + screenRect.width() - 20) - this->width(); int y = 40; QPropertyAnimation *a = new QPropertyAnimation(this, "pos"); |