diff framework/MainWindowBase.cpp @ 438:7fa74786dec5 cxx11

Register new types
author Chris Cannam
date Tue, 10 Mar 2015 17:40:38 +0000
parents 72c662fe7ea3
children 345d41a3567f
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Tue Mar 10 17:23:45 2015 +0000
+++ b/framework/MainWindowBase.cpp	Tue Mar 10 17:40:38 2015 +0000
@@ -106,9 +106,6 @@
 #include <cstdio>
 #include <errno.h>
 
-
-
-
 using std::vector;
 using std::map;
 using std::set;
@@ -161,6 +158,9 @@
 {
     Profiler profiler("MainWindowBase::MainWindowBase");
 
+    qRegisterMetaType<sv_frame_t>("sv_frame_t");
+    qRegisterMetaType<sv_samplerate_t>("sv_samplerate_t");
+
 #ifdef Q_WS_X11
     XSetErrorHandler(handle_x11_error);
 #endif