X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=main.cpp;h=8f495419fee7467de77c4074c32927ce658de919;hb=932bc2461d7b84b084d3a77ccfeb3bdb1a2d0d6c;hp=f7c722b1aec63a6e47d440a565bb23824fadd461;hpb=58d8e4c6c50bb119d405d754a6fb122d932d6510;p=pulseview.git diff --git a/main.cpp b/main.cpp index f7c722b..8f49541 100644 --- a/main.cpp +++ b/main.cpp @@ -36,6 +36,7 @@ #include "pv/application.hpp" #include "pv/devicemanager.hpp" #include "pv/mainwindow.hpp" +#include "pv/session.hpp" #ifdef ANDROID #include #include "android/assetreader.hpp" @@ -162,6 +163,8 @@ int main(int argc, char *argv[]) // Initialise libsigrok context = sigrok::Context::create(); + pv::Session::sr_context = context; + #ifdef ANDROID context->set_resource_reader(&asset_reader); #endif