MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / able_to_close

Method able_to_close

DSView/pv/mainwindow.cpp:466–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464 }
465
466 bool MainWindow::able_to_close()
467 {
468 if (_device_agent->is_hardware() && _session->have_hardware_data() == false){
469 _sampling_bar->commit_settings();
470 }
471 // not used, refer to closeEvent of mainFrame
472 save_config();
473
474 if (confirm_to_store_data()){
475 on_save();
476 return false;
477 }
478 return true;
479 }
480
481 void MainWindow::on_protocol(bool visible)
482 {

Callers 1

closeEventMethod · 0.80

Calls 3

is_hardwareMethod · 0.80
have_hardware_dataMethod · 0.80
commit_settingsMethod · 0.45

Tested by

no test coverage detected