comparison 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
comparison
equal deleted inserted replaced
437:167fe01d5631 438:7fa74786dec5
104 104
105 #include <iostream> 105 #include <iostream>
106 #include <cstdio> 106 #include <cstdio>
107 #include <errno.h> 107 #include <errno.h>
108 108
109
110
111
112 using std::vector; 109 using std::vector;
113 using std::map; 110 using std::map;
114 using std::set; 111 using std::set;
115 112
116 #ifdef Q_WS_X11 113 #ifdef Q_WS_X11
158 m_defaultFfwdRwdStep(2, 0), 155 m_defaultFfwdRwdStep(2, 0),
159 m_statusLabel(0), 156 m_statusLabel(0),
160 m_menuShortcutMapper(0) 157 m_menuShortcutMapper(0)
161 { 158 {
162 Profiler profiler("MainWindowBase::MainWindowBase"); 159 Profiler profiler("MainWindowBase::MainWindowBase");
160
161 qRegisterMetaType<sv_frame_t>("sv_frame_t");
162 qRegisterMetaType<sv_samplerate_t>("sv_samplerate_t");
163 163
164 #ifdef Q_WS_X11 164 #ifdef Q_WS_X11
165 XSetErrorHandler(handle_x11_error); 165 XSetErrorHandler(handle_x11_error);
166 #endif 166 #endif
167 167