mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refactor: Emit CApplication::startUpComplete on starting event loop
This commit is contained in:
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
|
||||
//! [SwiftApplicationDemo]
|
||||
|
||||
CSwiftLauncher launcher;
|
||||
const int res = CGuiApplication::exec();
|
||||
const int res = a.exec();
|
||||
if (res != EXIT_SUCCESS || !launcher.shouldStartAppDetached())
|
||||
{
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user