cleanup
This commit is contained in:
parent
fc2a42e51a
commit
a8f7d93523
|
@ -26,7 +26,8 @@ ApplicationData::ApplicationData(const QString &name, const Icon &icon):
|
|||
{
|
||||
Q_ASSERT_X(!name.isEmpty(), Q_FUNC_INFO, "invalid name detected");
|
||||
m_hint.setValue("pushover-token", "aFB1TPCyZkkr7mubCGEKy5vJEWak9t");
|
||||
m_hint.setValue("use-markup", QVariant::fromValue(false));
|
||||
m_hint.setValue("use-markup", false);
|
||||
m_hints.setValue("silent", SnoreCore::instance().value("Silent", LOCAL_SETTING));
|
||||
}
|
||||
|
||||
ApplicationData::~ApplicationData()
|
||||
|
|
|
@ -47,7 +47,6 @@ NotificationData::NotificationData(const Snore::Application &application, const
|
|||
notificationCount++;
|
||||
snoreDebug(SNORE_INFO) << "Creating Notification: ActiveNotifications" << notificationCount << "id" << m_id;
|
||||
snoreDebug(SNORE_INFO) << title << text;
|
||||
initHints();
|
||||
}
|
||||
|
||||
Snore::NotificationData::NotificationData(const Notification &old, const QString &title, const QString &text, const Icon &icon, int timeout, Notification::Prioritys priority):
|
||||
|
@ -66,7 +65,6 @@ Snore::NotificationData::NotificationData(const Notification &old, const QString
|
|||
notificationCount++;
|
||||
snoreDebug(SNORE_INFO) << "Creating Notification: ActiveNotifications" << notificationCount << "id" << m_id;
|
||||
snoreDebug(SNORE_INFO) << title << text;
|
||||
initHints();
|
||||
}
|
||||
|
||||
NotificationData::~NotificationData()
|
||||
|
@ -107,8 +105,3 @@ QString NotificationData::resolveMarkup(const QString &string, Utils::MARKUP_FLA
|
|||
}
|
||||
}
|
||||
|
||||
void NotificationData::initHints()
|
||||
{
|
||||
m_hints.setValue("silent", SnoreCore::instance().value("Silent", LOCAL_SETTING));
|
||||
}
|
||||
|
||||
|
|
|
@ -53,8 +53,6 @@ public:
|
|||
private:
|
||||
Q_DISABLE_COPY(NotificationData)
|
||||
|
||||
void initHints();
|
||||
|
||||
uint m_id;
|
||||
uint m_updateID;
|
||||
int m_timeout;
|
||||
|
|
Loading…
Reference in New Issue