From 4ada79c9a504295186798a79fc2ddf152b24fd08 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 6 Nov 2021 14:17:49 +0100 Subject: [PATCH] add offset to notification window --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index ee2ce7d..3959adc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -181,7 +181,7 @@ void MainWindow::showNotification(QString str){ auto popUp = new NotificationWidget(this); popUp->setPopupText(str); - popUp->setGeometry(0, 0, popUp->width(), popUp->height()); + popUp->setGeometry(200, 100, popUp->width(), popUp->height()); popUp->show(); auto *timer = new QTimer(); connect(timer, SIGNAL(timeout()), popUp, SLOT(fadeOut()));