mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-10 08:35:54 +00:00
remove setDefaultTimeout
This commit is contained in:
parent
490935302f
commit
dbf3800511
@ -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 ¬i)
|
||||
{
|
||||
stream << "Title: " << noti.title() << " Text: " << noti.text() << " ID: " << noti.id() ;
|
||||
|
@ -261,12 +261,6 @@ public:
|
||||
*/
|
||||
static int defaultTimeout();
|
||||
|
||||
/**
|
||||
* Sets the default timeout.
|
||||
* @param defaultTimeout
|
||||
*/
|
||||
static void setDefaultTimeout(int defaultTimeout);
|
||||
|
||||
private:
|
||||
QExplicitlySharedDataPointer<NotificationData> d;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user