small change
This commit is contained in:
parent
5a864285e4
commit
32bc5583be
|
@ -247,11 +247,11 @@ bool SnoreCore::setPrimaryNotificationBackend()
|
|||
return false;
|
||||
}
|
||||
|
||||
const QString SnoreCore::primaryNotificationBackend()
|
||||
const QString SnoreCore::primaryNotificationBackend() const
|
||||
{
|
||||
if(m_notificationBackend == NULL)
|
||||
if(m_notificationBackend.isNull())
|
||||
{
|
||||
return QString();
|
||||
return QString::null;
|
||||
}
|
||||
return m_notificationBackend->name();
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
|
||||
bool setPrimaryNotificationBackend( const QString &backend );
|
||||
bool setPrimaryNotificationBackend();
|
||||
const QString primaryNotificationBackend();
|
||||
const QString primaryNotificationBackend() const;
|
||||
QSystemTrayIcon *trayIcon();
|
||||
|
||||
Notification getActiveNotificationByID(uint id);
|
||||
|
|
Loading…
Reference in New Issue