2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Detach SystemMediaControls from Window::Controller.

This commit is contained in:
John Preston
2023-01-19 09:38:52 +04:00
parent 6b8f80bd63
commit cdfdccbb66
12 changed files with 67 additions and 53 deletions

View File

@@ -19,10 +19,6 @@ class Widget;
enum class EnterPoint : uchar;
} // namespace Intro
namespace Media {
class SystemMediaControlsManager;
} // namespace Media
namespace Window {
class MediaPreviewWidget;
class SectionMemento;
@@ -136,8 +132,6 @@ private:
void themeUpdated(const Window::Theme::BackgroundUpdate &data);
std::unique_ptr<Media::SystemMediaControlsManager> _mediaControlsManager;
QPoint _lastMousePosition;
object_ptr<Window::PasscodeLockWidget> _passcodeLock = { nullptr };