Verified Commit 628f7d7c authored by Fushan Wen's avatar Fushan Wen
Browse files

libnotificationmanager: Initialize `inhibited` in the private header

parent b8b722ba
Pipeline #150848 passed with stage
in 5 minutes and 33 seconds
......@@ -26,7 +26,6 @@ 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; // "Do not disturb" mode
bool inhibited = false; // "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