changeset 438:7fa74786dec5 cxx11

Register new types
author Chris Cannam
date Tue, 10 Mar 2015 17:40:38 +0000
parents 167fe01d5631
children 9429622647e6
files framework/MainWindowBase.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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