Fix wrong fix

This commit is contained in:
Tobias Fella
2021-08-04 18:12:10 +02:00
parent 383d2a6e71
commit de98fd05f0

View File

@@ -55,7 +55,7 @@ void NotificationsManager::postNotification(NeoChatRoom *room,
notification->setPixmap(img);
notification->setDefaultAction(i18n("Open NeoChat in this room"));
connect(notification, &KNotification::defaultActivated, this, [&]() {
connect(notification, &KNotification::defaultActivated, this, [=]() {
RoomManager::instance().enterRoom(room);
Q_EMIT Controller::instance().showWindow();
});