| 106 | } |
| 107 | |
| 108 | void StoragePage::handleClearLogsButton() |
| 109 | { |
| 110 | if (m_confirmation_box->exec() != QMessageBox::Yes) |
| 111 | return; |
| 112 | |
| 113 | auto path = m_inst->gameRoot() + "/logs"; |
| 114 | QDir(path).removeRecursively(); |
| 115 | updateCalculations(); |
| 116 | } |
| 117 | |
| 118 | void StoragePage::handleClearAllButton() |
| 119 | { |