mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Added ability to specify application name for Linux MPRIS.
This commit is contained in:
parent
d22601461a
commit
fdbf63229d
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ SystemMediaControlsManager::SystemMediaControlsManager(
|
||||||
base::Platform::SystemMediaControls::PlaybackStatus;
|
base::Platform::SystemMediaControls::PlaybackStatus;
|
||||||
using Command = base::Platform::SystemMediaControls::Command;
|
using Command = base::Platform::SystemMediaControls::Command;
|
||||||
|
|
||||||
|
_controls->setApplicationName(AppName.utf16());
|
||||||
const auto inited = _controls->init(controller->widget());
|
const auto inited = _controls->init(controller->widget());
|
||||||
if (!inited) {
|
if (!inited) {
|
||||||
LOG(("SystemMediaControlsManager failed to init."));
|
LOG(("SystemMediaControlsManager failed to init."));
|
||||||
|
|
Loading…
Add table
Reference in a new issue