mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
try fix for non showing notification on Windows
This commit is contained in:
parent
ed89a81fd7
commit
6500f09ef1
1 changed files with 3 additions and 2 deletions
|
|
@ -237,13 +237,14 @@ void Notifier::showNotification(QQuickWindow *notification, int timeout) {
|
|||
QObject::connect(App::getInstance(), &App::sessionUnlocked, notification, [this, notification] {
|
||||
lInfo() << log().arg("Windows : screen unlocked, force raising notification");
|
||||
notification->hide();
|
||||
notification->show();
|
||||
notification->showNormal();
|
||||
notification->raise();
|
||||
lInfo() << log().arg("Notification visibility : visible =") << notification->isVisible()
|
||||
<< "visibility =" << notification->visibility();
|
||||
});
|
||||
#endif
|
||||
notification->show();
|
||||
notification->hide();
|
||||
notification->showNormal();
|
||||
notification->raise();
|
||||
lInfo() << log().arg("Notification visibility : visible =") << notification->isVisible()
|
||||
<< "visibility =" << notification->visibility() << "size =" << notification->width()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue