Commit c9cfe362 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

main: Fix debug helper calls

parent f8d9c13b
......@@ -23,10 +23,10 @@
#include "config.h"
#include "ConsoleRenderer.h"
#include "ProjectManager.h"
#include "VlmcDebug.h"
#include "WorkflowFileRenderer.h"
#include <QCoreApplication>
#include <QtDebug>
#include <QMetaType>
#include <QVariant>
......@@ -52,7 +52,7 @@ VLMCmain( int argc, char **argv )
if ( app.arguments().count() < 3 )
{
qCritical() << "Usage: ./vlmc project.vlmc output_file";
vlmcCritical() << "Usage: ./vlmc project.vlmc output_file";
return 1;
}
ProjectManager *pm = ProjectManager::getInstance();
......
......@@ -23,6 +23,7 @@
#include "config.h"
#include "Types.h"
#include "VlmcDebug.h"
#include <QMetaType>
#include <QTextStream>
......@@ -122,7 +123,7 @@ main( int argc, char **argv )
{
pid_t pid = fork();
if( pid < 0 )
qFatal("Can't fork to launch VLMC. Exiting.");
vlmcFatal("Can't fork to launch VLMC. Exiting.");
if( pid == 0 )
{
signal( SIGSEGV, signalHandler );
......
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