1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 20:27:22 +01:00

fix for the SF bug 3015979 fwbuilder not exiting in centos 5.5

This commit is contained in:
Vadim Kurland 2010-06-17 04:49:30 +00:00
parent aa68200d6d
commit 2467927ed5
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2998
#define BUILD_NUM 2999

View File

@ -28,6 +28,7 @@
#include "UserWorkflow.h"
#include "FWBSettings.h"
#include "FWBApplication.h"
#include "FWWindow.h"
#include <QtDebug>
#include <QTimer>
@ -38,6 +39,8 @@ void FWBApplication::quit()
if (fwbdebug) qDebug() << "FWBApplication::quit()";
timeout = 0;
if (mw->isVisible()) mw->hide();
if (st->getCheckUpdates())
{
wfl->report();
@ -52,6 +55,7 @@ void FWBApplication::delayedQuit()
if (timeout < 20 && wfl->reportInProgress())
{
timeout++;
QTimer::singleShot(100, this, SLOT(delayedQuit()));
return;
}