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

Method on_actionDefault_triggered

DSView/pv/toolbars/filebar.cpp:183–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void FileBar::on_actionDefault_triggered()
184{
185 QDir dir(GetFirmwareDir());
186 if (!dir.exists()) {
187 MsgBox::Show(NULL, L_S(STR_PAGE_MSG, S_ID(IDS_MSG_NOT_FOND_DEFAULT_PROFILE),
188 "Cannot find default profile for this device!"), this);
189 return;
190 }
191
192 QString file_name = genDefaultSessionFile();
193
194 sig_load_session(file_name);
195}
196
197QString FileBar::genDefaultSessionFile()
198{

Callers

nothing calls this directly

Calls 2

GetFirmwareDirFunction · 0.85
ShowFunction · 0.85

Tested by

no test coverage detected