X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=main.cpp;h=b0e631f6382cbd4697d2171e30ebab8620065989;hb=cb8989031b8f229c2e8c34b09db64081a2fdc92b;hp=da5fffcdb3af28d4ada2044e32e88c4a2cd7cd3b;hpb=0466001be51e779b23aaebec1cc9361305c07be9;p=pulseview.git diff --git a/main.cpp b/main.cpp index da5fffcd..b0e631f6 100644 --- a/main.cpp +++ b/main.cpp @@ -60,6 +60,7 @@ #include "pv/mainwindow.hpp" #include "pv/session.hpp" #include "pv/util.hpp" +#include "pv/data/segment.hpp" #ifdef ANDROID #include @@ -274,8 +275,9 @@ int main(int argc, char *argv[]) for (int i = 0; i < argc; i++) open_files.emplace_back(argv[i]); - qRegisterMetaType("util::Timestamp"); qRegisterMetaType("uint64_t"); + qRegisterMetaType("util::Timestamp"); + qRegisterMetaType("SharedPtrToSegment"); // Prepare the global settings since logging needs them early on pv::GlobalSettings settings;