From 2e022bd18ee2f22bba054f0d4352ce0fee1431b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 2 Jun 2013 09:52:36 +0200 Subject: [PATCH] corregido bug cuando YACReader estaba always on top y se detectaba una nueva versi?n --- YACReader/main_window_viewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YACReader/main_window_viewer.cpp b/YACReader/main_window_viewer.cpp index 62a43c1a..c836b1ae 100644 --- a/YACReader/main_window_viewer.cpp +++ b/YACReader/main_window_viewer.cpp @@ -628,6 +628,8 @@ void MainWindowViewer::newVersion() msgBox.setInformativeText(tr("Do you want to download the new version?")); msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); msgBox.setDefaultButton(QMessageBox::Yes); + msgBox.setWindowFlags(Qt::WindowStaysOnTopHint); + msgBox.setModal(true); int ret = msgBox.exec(); if(ret==QMessageBox::Yes){