2
0
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:
John Preston
2016-10-12 22:34:25 +03:00
parent 8f135d7e00
commit 9eb8a93719
98 changed files with 2305 additions and 1841 deletions

View File

@@ -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!"));

View File

@@ -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"

View File

@@ -96,7 +96,7 @@ namespace Notifications {
void start() {
if (cPlatform() != dbipMacOld) {
ManagerInstance.makeIfNull();
ManagerInstance.createIfNull();
}
}

View File

@@ -316,7 +316,7 @@ private:
void start() {
if (init()) {
ManagerInstance.makeIfNull();
ManagerInstance.createIfNull();
}
}