Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Commit f8695ce

Browse files
committed
test
1 parent e5dc5fc commit f8695ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/centralwidget.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ void CentralWidget::setupWebView() {
5050
notification->setText(notificationInfo->message());
5151
notification->setPixmap(
5252
QPixmap::fromImage(notificationInfo->icon()));
53-
KNotificationAction* defaultActivated =
54-
notification->addDefaultAction("View");
55-
connect(notification, &defaultActivated,
53+
notification->addDefaultAction("View");
54+
connect(notification, &KNotification::defaultAction,
5655
[&, notificationInfo = std::move(notificationInfo)]() {
5756
notificationInfo->click();
5857
show();

0 commit comments

Comments
 (0)