: AbstractNotificationBackend(parent)
{
NotificationSettings notificationSettings;
notificationSettings.initAndNotify("Systray/Alert", this, &SystrayAnimationNotificationBackend::alertChanged, true);
}
: AbstractNotificationBackend(parent)
{
NotificationSettings notificationSettings;
notificationSettings.initAndNotify("Systray/Alert", this, &SystrayAnimationNotificationBackend::alertChanged, true);
}
void SystrayAnimationNotificationBackend::close(uint notificationId)
{
Q_UNUSED(notificationId)
QtUi::mainWindow()->systemTray()->setAlert(false);
}
void SystrayAnimationNotificationBackend::close(uint notificationId)
{
Q_UNUSED(notificationId)
QtUi::mainWindow()->systemTray()->setAlert(false);
}
-SystrayAnimationNotificationBackend::ConfigWidget::ConfigWidget(QWidget *parent) : SettingsPage("Internal", "SystrayAnimation", parent)
+SystrayAnimationNotificationBackend::ConfigWidget::ConfigWidget(QWidget* parent)
+ : SettingsPage("Internal", "SystrayAnimation", parent)