[vlmc-devel] VLMCCoremain: Remove wrong HAVE_GUI wrapping
Yikai Lu
git at videolan.org
Fri Jun 9 14:07:27 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Fri Jun 9 20:54:39 2017 +0900| [62426cc7c3790a9a5957baa94516283de6066ff3] | committer: Yikai Lu
VLMCCoremain: Remove wrong HAVE_GUI wrapping
> https://code.videolan.org/videolan/vlmc/commit/62426cc7c3790a9a5957baa94516283de6066ff3
---
src/Main/main.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/Main/main.cpp b/src/Main/main.cpp
index db99c3fc..17bdf8c6 100644
--- a/src/Main/main.cpp
+++ b/src/Main/main.cpp
@@ -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 );
Core::instance()->settings()->load();
p->load( app.arguments()[1] );
-#endif
+
auto res = app.exec();
Core::instance()->settings()->save();
return res;
More information about the Vlmc-devel
mailing list