mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Playlist appearance added to the new media player.
Also itemRemoved() now is fired as a global observable.
This commit is contained in:
@@ -2018,8 +2018,8 @@ namespace {
|
||||
if (auto manager = Window::Notifications::manager()) {
|
||||
manager->clearFromItem(item);
|
||||
}
|
||||
if (App::main() && !App::quitting()) {
|
||||
App::main()->itemRemoved(item);
|
||||
if (Global::started() && !App::quitting()) {
|
||||
Global::RefItemRemoved().notify(item, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user