summaryrefslogtreecommitdiffstats
path: root/src/daemon/NotificationsService.cpp
diff options
context:
space:
mode:
authorEmanoil Kotsev <[email protected]>2021-12-18 00:35:17 +0100
committerEmanoil Kotsev <[email protected]>2024-11-09 18:49:26 +0000
commit5916f27b6416d7c0080a941c0a4c2a9f61f3b808 (patch)
tree6d47d99914dc513df39f8cfa3afd5f40a23f1104 /src/daemon/NotificationsService.cpp
parent1eeb7a3c737487ba0b087520353b51f23063e953 (diff)
downloadkdbusnotification-5916f27b6416d7c0080a941c0a4c2a9f61f3b808.tar.gz
kdbusnotification-5916f27b6416d7c0080a941c0a4c2a9f61f3b808.zip
Moving window
Signed-off-by: Emanoil Kotsev <[email protected]>
Diffstat (limited to 'src/daemon/NotificationsService.cpp')
-rw-r--r--src/daemon/NotificationsService.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/NotificationsService.cpp b/src/daemon/NotificationsService.cpp
index cf3c8a4..1fefa11 100644
--- a/src/daemon/NotificationsService.cpp
+++ b/src/daemon/NotificationsService.cpp
@@ -115,8 +115,11 @@ void NotificationsService::NotifyAsync(
notificationMap[id]->setActions(actions);
notificationMap[id]->setHints(hints);
notificationMap[id]->setTimeout(timeout);
+ TQPoint p( 100, 100 );
+ notificationMap[id]->move( p );
notificationMap[id]->raise();
notificationMap[id]->show();
+ notificationMap[id]->adjustSize();
notificationMap[id]->setActiveWindow();
NotifyAsyncReply(asyncCallId, id);