chore: Adjust about function closeAllNotification
Log: maek closeAllNotification on all platform, move closeAllNotification action to aboutToQuit
This commit is contained in:
parent
919ec2a5e3
commit
0e2cc65548
4 changed files with 4 additions and 13 deletions
|
|
@ -1641,10 +1641,10 @@ ChatPage::isRoomActive(const QString &room_id)
|
|||
MainWindow::instance()->windowForRoom(room_id) == QGuiApplication::focusWindow();
|
||||
}
|
||||
|
||||
#if defined (Q_OS_LINUX)
|
||||
void
|
||||
ChatPage::removeAllNotifications()
|
||||
{
|
||||
#if defined (Q_OS_LINUX)
|
||||
notificationsManager->closeAllNotifications();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue