Commit 99245e65 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/app/App): use `close` instead of `deleteLater` on splash screen

parent 526e7035
......@@ -114,13 +114,7 @@ inline QQuickWindow *createSubWindow (App *app, const char *path) {
inline void activeSplashScreen (App *app) {
QQuickWindow *splash_screen = createSubWindow(app, QML_VIEW_SPLASH_SCREEN);
QObject::connect(
CoreManager::getInstance(), &CoreManager::linphoneCoreCreated, splash_screen, [splash_screen]() {
splash_screen->hide();
splash_screen->deleteLater();
}
);
QObject::connect(CoreManager::getInstance(), &CoreManager::linphoneCoreCreated, splash_screen, &QQuickWindow::close);
}
void App::initContentApp () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment