diff options
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_SourceFiles_mainwindow.cpp')
-rw-r--r-- | net-im/telegram-desktop/files/patch-Telegram_SourceFiles_mainwindow.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_mainwindow.cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_mainwindow.cpp new file mode 100644 index 000000000000..9a3fdcf3bc7e --- /dev/null +++ b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_mainwindow.cpp @@ -0,0 +1,19 @@ +--- Telegram/SourceFiles/mainwindow.cpp.orig 2017-09-05 17:38:38 UTC ++++ Telegram/SourceFiles/mainwindow.cpp +@@ -460,6 +460,7 @@ void MainWindow::ui_hideMediaPreview() { + void MainWindow::showConnecting(const QString &text, const QString &reconnect) { + if (_connecting) { + _connecting->set(text, reconnect); ++ _connecting->show(); + } else { + _connecting.create(bodyWidget(), text, reconnect); + _connecting->show(); +@@ -470,7 +471,7 @@ void MainWindow::showConnecting(const QS + + void MainWindow::hideConnecting() { + if (_connecting) { +- _connecting.destroyDelayed(); ++ _connecting->hide(); + } + } + |