fix(ui/modules/Linphone/Notifications/Notification): always display popups on mac

This commit is contained in:
Ronan Abhamon 2017-04-25 15:30:01 +02:00
parent adb561d7ac
commit f809c5c482
2 changed files with 5 additions and 5 deletions

View file

@ -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();

View file

@ -36,7 +36,7 @@ DesktopPopup {
// ---------------------------------------------------------------------------
flags: Qt.Popup
flags: Qt.Window | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
Component.onCompleted: {
var window = _window = data[0]