mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
fix(src/app/App): use close instead of deleteLater on splash screen
This commit is contained in:
parent
526e70357f
commit
99245e65b4
1 changed files with 1 additions and 7 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue