2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Add Qt 6 support

Tested only on Linux so far
This commit is contained in:
Ilya Fedin
2021-10-19 17:00:21 +04:00
committed by John Preston
parent ea10cf5758
commit 847c01d605
154 changed files with 382 additions and 339 deletions

View File

@@ -1015,7 +1015,7 @@ bool Notification::unlinkSession(not_null<Main::Session*> session) {
return unlink;
}
void Notification::enterEventHook(QEvent *e) {
void Notification::enterEventHook(QEnterEvent *e) {
if (!_history) return;
manager()->stopAllHiding();
if (!_replyArea && canReply()) {
@@ -1096,7 +1096,7 @@ void HideAllButton::stopHiding() {
hideStop();
}
void HideAllButton::enterEventHook(QEvent *e) {
void HideAllButton::enterEventHook(QEnterEvent *e) {
_mouseOver = true;
update();
}