Commit 62426cc7 authored by luyikei's avatar luyikei

VLMCCoremain: Remove wrong HAVE_GUI wrapping

parent 34595867
......@@ -204,14 +204,13 @@ VLMCCoremain( int argc, char **argv )
#ifndef HAVE_GUI
ConsoleRenderer renderer;
Project *p = Core::instance()->project();
QCoreApplication::connect( p, &Project::projectLoaded, &renderer, &ConsoleRenderer::startRender );
p->load( app.arguments()[1] );
auto res = app.exec();
return res;
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