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

main: register metatypes when the crash handler is enabled.

parent 667cab00
......@@ -66,6 +66,9 @@ void signalHandler( int sig )
int main( int argc, char **argv )
{
qRegisterMetaType<Workflow::TrackType>( "Workflow::TrackType" );
qRegisterMetaType<Vlmc::FrameChangedReason>( "Vlmc::FrameChangedReason" );
qRegisterMetaType<QVariant>( "QVariant" );
#ifdef WITH_CRASHHANDLER
while ( true )
{
......@@ -101,9 +104,6 @@ int main( int argc, char **argv )
}
}
#else
qRegisterMetaType<Workflow::TrackType>( "Workflow::TrackType" );
qRegisterMetaType<Vlmc::FrameChangedReason>( "Vlmc::FrameChangedReason" );
qRegisterMetaType<QVariant>( "QVariant" );
return VLMCmain( argc, argv );
#endif
}
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