mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Don't use QWindowSystemInterface in the PiP
It provides no difference, there was a mistake while testing the behavior
This commit is contained in:
parent
be8d91055a
commit
b9181db407
1 changed files with 0 additions and 5 deletions
|
@ -38,8 +38,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include <QtGui/QWindow>
|
||||
#include <QtGui/QScreen>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <qpa/qplatformwindow.h>
|
||||
#include <qpa/qwindowsysteminterface.h>
|
||||
|
||||
namespace Media {
|
||||
namespace View {
|
||||
|
@ -609,9 +607,6 @@ void PipPanel::handleResize(QSize size) {
|
|||
: scaled;
|
||||
|
||||
setGeometry(QRect(widget()->geometry().topLeft(), normalized));
|
||||
QWindowSystemInterface::handleGeometryChange<QWindowSystemInterface::SynchronousDelivery>(
|
||||
widget()->windowHandle(),
|
||||
widget()->windowHandle()->handle()->geometry());
|
||||
}
|
||||
|
||||
void PipPanel::handleScreenChanged(QScreen *screen) {
|
||||
|
|
Loading…
Add table
Reference in a new issue