mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-04 05:09:27 +00:00
fix(ui/modules/Linphone/Notifications/Notification): always display popups on mac
This commit is contained in:
parent
adb561d7ac
commit
f809c5c482
2 changed files with 5 additions and 5 deletions
|
|
@ -50,8 +50,8 @@
|
|||
|
||||
// Arbitrary hardcoded values.
|
||||
#define NOTIFICATION_SPACING 10
|
||||
#define N_MAX_NOTIFICATIONS 15
|
||||
#define MAX_TIMEOUT 60000
|
||||
#define N_MAX_NOTIFICATIONS 5
|
||||
#define MAX_TIMEOUT 30000
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
@ -181,11 +181,11 @@ void Notifier::deleteNotification (QVariant notification) {
|
|||
instance->property(NOTIFICATION_PROPERTY_TIMER).value<QTimer *>()->stop();
|
||||
|
||||
mInstancesNumber--;
|
||||
Q_ASSERT(mInstancesNumber >= 0);
|
||||
|
||||
if (mInstancesNumber == 0)
|
||||
mOffset = 0;
|
||||
|
||||
Q_ASSERT(mInstancesNumber >= 0);
|
||||
|
||||
mMutex.unlock();
|
||||
|
||||
instance->deleteLater();
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ DesktopPopup {
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
flags: Qt.Popup
|
||||
flags: Qt.Window | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
||||
|
||||
Component.onCompleted: {
|
||||
var window = _window = data[0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue