Changeset View
Changeset View
Standalone View
Standalone View
src/KNotificationBackend.cpp
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 51 | { | |||
---|---|---|---|---|---|
56 | 56 | | |||
57 | if( engine->isPlaying() ) | 57 | if( engine->isPlaying() ) | ||
58 | showCurrentTrack(); | 58 | showCurrentTrack(); | ||
59 | } | 59 | } | ||
60 | 60 | | |||
61 | KNotificationBackend::~KNotificationBackend() | 61 | KNotificationBackend::~KNotificationBackend() | ||
62 | { | 62 | { | ||
63 | if( m_notify ) | 63 | if( m_notify ) | ||
64 | m_notify.data()->close(); | 64 | m_notify->close(); | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | void | 67 | void | ||
68 | KNotificationBackend::setEnabled( bool enable ) | 68 | KNotificationBackend::setEnabled( bool enable ) | ||
69 | { | 69 | { | ||
70 | m_enabled = enable; | 70 | m_enabled = enable; | ||
71 | } | 71 | } | ||
72 | 72 | | |||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |