X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=main.cpp;fp=main.cpp;h=793f4ce12d77dd83e6b7f976a1a70de29216caf1;hp=da5fffcdb3af28d4ada2044e32e88c4a2cd7cd3b;hb=1f3033cb3e63de7cfe98dab537460443917fece3;hpb=464f05d59f205225eff1cb435f9ae11716dbe9de diff --git a/main.cpp b/main.cpp index da5fffcd..793f4ce1 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("data::Segment"); // Prepare the global settings since logging needs them early on pv::GlobalSettings settings;