MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / openDoc

Method openDoc

DSView/pv/mainwindow.cpp:1435–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1433 }
1434
1435 void MainWindow::openDoc()
1436 {
1437 QDir dir(GetAppDataDir());
1438 AppConfig &app = AppConfig::Instance();
1439 int lan = app.frameOptions.language;
1440 QDesktopServices::openUrl(
1441 QUrl("file:///" + dir.absolutePath() + "/ug" + QString::number(lan) + ".pdf"));
1442 }
1443
1444 void MainWindow::update_capture()
1445 {

Callers 1

show_docMethod · 0.80

Calls 1

GetAppDataDirFunction · 0.85

Tested by

no test coverage detected