2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Improve calls panel in macOS.

Use Qt::Dialog instead of Qt::Tool which works better with window
activation / deactivation handling.

Stop displaying the panel on all spaces when the call is established.
This commit is contained in:
John Preston
2017-05-02 12:08:08 +03:00
parent 0cdac83f8a
commit 5f2e295d63
14 changed files with 149 additions and 129 deletions

View File

@@ -20,6 +20,25 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include <execinfo.h>
#include <signal.h>
namespace Platform {
inline void SetWatchingMediaKeys(bool watching) {
}
inline void StartTranslucentPaint(QPainter &p, QPaintEvent *e) {
}
inline void InitOnTopPanel(QWidget *panel) {
}
inline void DeInitOnTopPanel(QWidget *panel) {
}
inline void ReInitOnTopPanel(QWidget *panel) {
}
} // namespace Platform
inline QString psServerPrefix() {
return qsl("/tmp/");
}