From 928502ec5b73bc6f482afd54f0fbcb6e7e59066c Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 20 Mar 2019 16:49:01 +1100 Subject: [PATCH] queue init function instead of direct connect --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index ed250177e..2cf002480 100644 --- a/main.cpp +++ b/main.cpp @@ -133,7 +133,7 @@ int main(int argc, char *argv[]) { olive::timeline::MultiplyTrackSizesByDPI(); // connect main window's first paint to global's init finished function - QObject::connect(&w, SIGNAL(finished_first_paint()), olive::Global.get(), SLOT(finished_initialize())); + QObject::connect(&w, SIGNAL(finished_first_paint()), olive::Global.get(), SLOT(finished_initialize()), Qt::QueuedConnection); if (!load_proj.isEmpty()) { olive::Global->load_project_on_launch(load_proj);