| 181 | } |
| 182 | |
| 183 | void 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 | |
| 197 | QString FileBar::genDefaultSessionFile() |
| 198 | { |
nothing calls this directly
no test coverage detected