2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix reply from notifications (Qt 5.6.2 broke it).

Now the mouse press on Qt::BypassWindowManagerHint window
doesn't activate it. So if you want a working input field
in a Qt::BypassWindowManagerHint window, you should
activate it yourself from any mouse press event.
This commit is contained in:
John Preston
2016-10-19 16:31:18 +03:00
parent 3503be03c9
commit 2ffc0196dd
4 changed files with 28 additions and 9 deletions

View File

@@ -208,6 +208,7 @@ protected:
void leaveEvent(QEvent *e) override;
void paintEvent(QPaintEvent *e) override;
void mousePressEvent(QMouseEvent *e) override;
bool eventFilter(QObject *o, QEvent *e) override;
private slots:
void onHideByTimer();