2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fixed alpha 0.10.23 build for Linux.

This commit is contained in:
John Preston
2017-01-01 21:49:44 +04:00
parent a86c85485a
commit 72e34dc5b1
5 changed files with 9 additions and 8 deletions

View File

@@ -131,8 +131,7 @@ GtkDialog *QGtkDialog::gtkDialog() const {
void QGtkDialog::exec() {
if (auto w = App::wnd()) {
w->onReActivate();
QTimer::singleShot(200, w, SLOT(onReActivate()));
w->reActivateWindow();
}
if (modality() == Qt::ApplicationModal) {
// block input to the whole app, including other GTK dialogs