summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp')
-rw-r--r--net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp
index b49a61db859e..f6f78becf90a 100644
--- a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp
+++ b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/window/main_window.cpp.orig 2019-10-07 15:58:21 UTC
+--- Telegram/SourceFiles/window/main_window.cpp.orig 2020-02-18 08:28:06 UTC
+++ Telegram/SourceFiles/window/main_window.cpp
-@@ -573,7 +573,7 @@ bool MainWindow::minimizeToTray() {
+@@ -589,7 +589,7 @@ bool MainWindow::minimizeToTray() {
}
void MainWindow::reActivateWindow() {
@@ -9,10 +9,10 @@
const auto reActivate = [=] {
if (const auto w = App::wnd()) {
if (auto f = QApplication::focusWidget()) {
-@@ -588,7 +588,7 @@ void MainWindow::reActivateWindow() {
+@@ -604,7 +604,7 @@ void MainWindow::reActivateWindow() {
};
crl::on_main(this, reActivate);
- App::CallDelayed(200, this, reActivate);
+ base::call_delayed(200, this, reActivate);
-#endif // Q_OS_LINUX32 || Q_OS_LINUX64
+#endif // Q_OS_LINUX32 || Q_OS_LINUX64 || Q_OS_FREEBSD
}