[vlmc-devel] commit: main: register metatypes when the crash handler is enabled. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Tue Aug 31 00:12:16 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Aug 30 22:05:30 2010 +0200| [6c45a6e1e61809c06f0ac389c3a4aff42e73dade] | committer: Hugo Beauzée-Luyssen
main: register metatypes when the crash handler is enabled.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=6c45a6e1e61809c06f0ac389c3a4aff42e73dade
---
src/Main/vlmc.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Main/vlmc.cpp b/src/Main/vlmc.cpp
index a17df3f..f197a9a 100644
--- a/src/Main/vlmc.cpp
+++ b/src/Main/vlmc.cpp
@@ -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
}
More information about the Vlmc-devel
mailing list