This commit is contained in:
Patrick von Reth 2015-06-30 11:19:41 +02:00
parent fc2a42e51a
commit a8f7d93523
3 changed files with 2 additions and 10 deletions

View File

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

View File

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

View File

@ -53,8 +53,6 @@ public:
private:
Q_DISABLE_COPY(NotificationData)
void initHints();
uint m_id;
uint m_updateID;
int m_timeout;