remove setDefaultTimeout

This commit is contained in:
Patrick von Reth 2015-03-11 15:45:43 +01:00
parent 490935302f
commit dbf3800511
2 changed files with 0 additions and 11 deletions

View File

@ -156,11 +156,6 @@ int Notification::defaultTimeout()
return SnoreCore::instance().value("Timeout", LOCAL_SETTING).toInt();
}
void Notification::setDefaultTimeout(int defaultTimeout)
{
SnoreCore::instance().setValue("Timeout", defaultTimeout, LOCAL_SETTING);
}
QDataStream &operator<< (QDataStream &stream, const Notification &noti)
{
stream << "Title: " << noti.title() << " Text: " << noti.text() << " ID: " << noti.id() ;

View File

@ -261,12 +261,6 @@ public:
*/
static int defaultTimeout();
/**
* Sets the default timeout.
* @param defaultTimeout
*/
static void setDefaultTimeout(int defaultTimeout);
private:
QExplicitlySharedDataPointer<NotificationData> d;