Commit 244bc932 authored by luyikei's avatar luyikei

MainWorkflow: Use Qt::DirectConnection for frameChanged

parent 4c0557dd
......@@ -38,7 +38,7 @@ ConsoleRenderer::ConsoleRenderer(QObject *parent) :
{
m_outputFileName = qApp->arguments()[2];
connect( Core::instance()->workflow(), &MainWorkflow::frameChanged,
this, &ConsoleRenderer::frameChanged);
this, &ConsoleRenderer::frameChanged, Qt::DirectConnection );
connect( Core::instance()->workflow(), &MainWorkflow::mainWorkflowEndReached, qApp, &QCoreApplication::quit );
}
......
......@@ -73,7 +73,7 @@ MainWorkflow::MainWorkflow( Settings* projectSettings, int trackCount ) :
connect( m_renderer->eventWatcher(), &RendererEventWatcher::positionChanged, this, [this]( qint64 pos )
{
emit frameChanged( pos, m_sequenceWorkflow->input()->playableLength(), Vlmc::Renderer );
} );
}, Qt::DirectConnection );
m_settings->createVar( SettingValue::List, "tracks", QVariantList(), "", "", SettingValue::Nothing );
connect( m_settings, &Settings::postLoad, this, &MainWorkflow::postLoad, Qt::DirectConnection );
......
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