mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 706935 - file upload on Meego Harmattan don't working. r=dougt
This commit is contained in:
parent
3a761719d5
commit
91d92aa2c0
@ -63,7 +63,7 @@ nsFastStartup::symbolsLoadingFinished(bool preloaded)
|
||||
{
|
||||
mSymbolsLoaded = preloaded;
|
||||
if (mWidgetPainted && mSymbolsLoaded) {
|
||||
qApp->quit();
|
||||
mLoop.quit();
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ void nsFastStartup::painted()
|
||||
{
|
||||
mWidgetPainted = true;
|
||||
if (mWidgetPainted && mSymbolsLoaded) {
|
||||
qApp->quit();
|
||||
mLoop.quit();
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,7 +159,7 @@ nsFastStartup::CreateFastStartup(int& argc, char ** argv,
|
||||
// Start native loop in order to get view opened and painted once
|
||||
// Will block CreateFastStartup function and
|
||||
// exit when symbols are loaded and Static UI shown
|
||||
qApp->exec();
|
||||
mLoop.exec();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include <QObject>
|
||||
#include "nscore.h"
|
||||
#include <QThread>
|
||||
#include <QEventLoop>
|
||||
#include <sys/time.h>
|
||||
|
||||
class QGraphicsView;
|
||||
@ -106,6 +107,7 @@ private:
|
||||
bool mSymbolsLoaded;
|
||||
bool mWidgetPainted;
|
||||
GeckoThread* mThread;
|
||||
QEventLoop mLoop;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user