Commit 04e07250 authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nate Graham
Browse files

Revert "libnotificationmanager: Initialize `inhibited` in the private header"

This reverts commit 628f7d7c.
parent 4cf81fc7
......@@ -29,6 +29,7 @@ using namespace NotificationManager;
AbstractNotificationsModel::Private::Private(AbstractNotificationsModel *q)
: q(q)
, inhibited(false)
, lastRead(QDateTime::currentDateTimeUtc())
{
pendingRemovalTimer.setSingleShot(true);
......
......@@ -41,7 +41,7 @@ public:
QVector<uint /*notificationId*/> pendingRemovals;
QTimer pendingRemovalTimer;
bool inhibited = false; // "Do not disturb" mode
bool inhibited; // "Do not disturb" mode
QDateTime lastRead;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment