main: Ensure event loops runs before Common::ensureConfigured() called
Otherwise migration progress cannot be reported
Αυτή η υποβολή περιλαμβάνεται σε:
γονέας
dd479fa668
υποβολή
a408173064
@ -150,6 +150,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
parser.parse(appArgs);
|
parser.parse(appArgs);
|
||||||
|
|
||||||
|
QApplication a(argc, argv);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Common::ensureConfigured();
|
Common::ensureConfigured();
|
||||||
@ -160,7 +161,6 @@ int main(int argc, char *argv[])
|
|||||||
QMessageBox::critical(nullptr, "Error", e.message);
|
QMessageBox::critical(nullptr, "Error", e.message);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
QApplication a(argc, argv);
|
|
||||||
a.setWindowIcon(QIcon(":/looqs.svg"));
|
a.setWindowIcon(QIcon(":/looqs.svg"));
|
||||||
QObject::connect(&a, &QApplication::aboutToQuit, &process, &QProcess::kill);
|
QObject::connect(&a, &QApplication::aboutToQuit, &process, &QProcess::kill);
|
||||||
|
|
||||||
|
Φόρτωση…
Αναφορά σε νέο ζήτημα
Block a user