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

Method on_open_log_file

DSView/pv/toolbars/logobar.cpp:310–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void LogoBar::on_open_log_file()
311{
312 QFile qf(get_dsv_log_path());
313 if (qf.exists()){
314 QDesktopServices::openUrl( QUrl("file:///" + get_dsv_log_path()));
315 }
316 else{
317 QString strMsg(L_S(STR_PAGE_MSG, S_ID(IDS_MSG_FILE_NOT_EXIST), "Not exist!"));
318 MsgBox::Show(strMsg);
319 }
320}
321
322void LogoBar::on_clear_log_file()
323{

Callers

nothing calls this directly

Calls 2

get_dsv_log_pathFunction · 0.85
ShowFunction · 0.85

Tested by

no test coverage detected