| 96 | } |
| 97 | |
| 98 | void StoragePage::handleClearScreenshotsButton() |
| 99 | { |
| 100 | if (m_confirmation_box->exec() != QMessageBox::Yes) |
| 101 | return; |
| 102 | |
| 103 | auto path = m_inst->gameRoot() + "/screenshots"; |
| 104 | QDir(path).removeRecursively(); |
| 105 | updateCalculations(); |
| 106 | } |
| 107 | |
| 108 | void StoragePage::handleClearLogsButton() |
| 109 | { |