mirror of https://github.com/procxx/kepka.git
libnotify: capabilities are not exclusive
Capabilities "actions" and "body-markup" can be available at the same time. Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
3b1fd9e45a
commit
0c0c8f3584
|
@ -371,7 +371,8 @@ void Manager::Private::init(Manager *manager) {
|
||||||
LOG(("LibNotify capabilities: %1").arg(_capabilities.join(qstr(", "))));
|
LOG(("LibNotify capabilities: %1").arg(_capabilities.join(qstr(", "))));
|
||||||
if (_capabilities.contains(qsl("actions"))) {
|
if (_capabilities.contains(qsl("actions"))) {
|
||||||
_actionsSupported = true;
|
_actionsSupported = true;
|
||||||
} else if (_capabilities.contains(qsl("body-markup"))) {
|
}
|
||||||
|
if (_capabilities.contains(qsl("body-markup"))) {
|
||||||
_markupSupported = true;
|
_markupSupported = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue