X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=170d14e79ccffa4fa9f7d24fdf91fbc57062c050;hp=6142709cd69efd9025805338b6a913aeb3053612;hb=d260d425863efa6d80a5a5f3d920373a6d159aef;hpb=b86aa8f4a22857a90bbfca6e7993b2deaf1157d4 diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 6142709..170d14e 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -284,7 +284,7 @@ void MainWindow::save_ui_settings() settings.setValue("geometry", saveGeometry()); settings.endGroup(); - if (_session.get_device()) { + if (_session.device()) { settings.beginGroup("Device"); key_list.push_back("vendor"); key_list.push_back("model"); @@ -293,7 +293,7 @@ void MainWindow::save_ui_settings() key_list.push_back("connection_id"); dev_info = _device_manager.get_device_info( - _session.get_device()); + _session.device()); for (string key : key_list) { @@ -368,7 +368,7 @@ void MainWindow::update_device_list() { assert(_sampling_bar); - shared_ptr selected_device = _session.get_device(); + shared_ptr selected_device = _session.device(); list< shared_ptr > devices; if (_device_manager.devices().size() == 0)