mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Media::Player::Widget added instead of PlayerWidget.
New media player bar widget added. Switching between floating media player panel and media player widget. New volume controller.
This commit is contained in:
@@ -214,7 +214,7 @@ using Notification = QSharedPointer<NotificationData>;
|
||||
void start() {
|
||||
if (LibNotifyLoaded()) {
|
||||
if (Libs::notify_is_initted() || Libs::notify_init("Telegram Desktop")) {
|
||||
ManagerInstance.makeIfNull();
|
||||
ManagerInstance.createIfNull();
|
||||
if (!ManagerInstance->init()) {
|
||||
ManagerInstance.clear();
|
||||
LOG(("LibNotify Error: manager failed to init!"));
|
||||
|
@@ -21,7 +21,6 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||
#include "mainwindow.h"
|
||||
#include "mainwidget.h"
|
||||
#include "application.h"
|
||||
#include "playerwidget.h"
|
||||
#include "historywidget.h"
|
||||
#include "localstorage.h"
|
||||
#include "window/notifications_manager_default.h"
|
||||
|
@@ -96,7 +96,7 @@ namespace Notifications {
|
||||
|
||||
void start() {
|
||||
if (cPlatform() != dbipMacOld) {
|
||||
ManagerInstance.makeIfNull();
|
||||
ManagerInstance.createIfNull();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -316,7 +316,7 @@ private:
|
||||
|
||||
void start() {
|
||||
if (init()) {
|
||||
ManagerInstance.makeIfNull();
|
||||
ManagerInstance.createIfNull();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user