Commit c4fd8734 authored by luyikei's avatar luyikei

MainWorkflow: Don't use WorkflowFileRendererDialog in non-gui build

parent 8c273420
......@@ -348,10 +348,10 @@ MainWorkflow::startRenderToFile( const QString &outputFileName, quint32 width, q
dialog.updatePreview( input->image( width, height ) );
}
});
connect( this, &MainWorkflow::mainWorkflowEndReached, &dialog, &WorkflowFileRendererDialog::accept );
#endif
connect( this, &MainWorkflow::mainWorkflowEndReached, this, [&output]{ output.stop(); } );
connect( this, &MainWorkflow::mainWorkflowEndReached, &dialog, &WorkflowFileRendererDialog::accept );
input->setPosition( 0 );
output.start();
......
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