aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar keshavbhatt <keshavnrj@gmail.com>2021-04-11 02:51:50 +0530
committerLibravatar keshavbhatt <keshavnrj@gmail.com>2021-04-11 02:51:50 +0530
commitcfaf28ee1536328f94d64099ab0700990ffd6926 (patch)
treecacddeb2457eebd6f50e83c78df6727b9aa7e23a /src
parent9f096f17f19dfdae57d51d81343cb4fecb5beb34 (diff)
downloadwhatsie-cfaf28ee1536328f94d64099ab0700990ffd6926.tar.gz
whatsie-cfaf28ee1536328f94d64099ab0700990ffd6926.zip
updated default timeout of popup
Diffstat (limited to 'src')
-rw-r--r--src/notificationpopup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notificationpopup.h b/src/notificationpopup.h
index 722fef5..aed8656 100644
--- a/src/notificationpopup.h
+++ b/src/notificationpopup.h
@@ -68,7 +68,7 @@ public:
this->update();
- QTimer::singleShot(settings.value("notificationTimeOut",5000).toInt(),this,[=](){
+ QTimer::singleShot(settings.value("notificationTimeOut",9000).toInt(),this,[=](){
onClosed();
});
@@ -100,7 +100,7 @@ public:
notification->show();
connect(notification.get(), &QWebEngineNotification::closed, this, &NotificationPopup::onClosed);
- QTimer::singleShot(settings.value("notificationTimeOut",5000).toInt(), notification.get(), [&] () { onClosed(); });
+ QTimer::singleShot(settings.value("notificationTimeOut",9000).toInt(), notification.get(), [&] () { onClosed(); });
this->adjustSize();
qApp->processEvents();