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:
@@ -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/");
|
||||
}
|
||||
|
Reference in New Issue
Block a user