aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2022-07-30 05:06:34 +0300
committerGitHub <noreply@github.com>2022-07-30 05:06:34 +0300
commitd8c89f056bcf7326519784633c374fdda5999736 (patch)
tree5e76b60cc47122970fe50e1cc656acedc43fed64 /include
parentf896475de414128fbc0f914224548e9dc5bd0cb3 (diff)
Add private evidence autosaving into inventories/autosave.ini (#778)
* Add private evidence autosaving into inventories/autosave.ini * Make evidence autosave more robust by accounting for evidence transfers and deleteions Fix the ini not using UTF-8 codec Correct save/load functions working on local evidence list (displayed) rather than the proper private one * set ini codec Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com> Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com> Co-authored-by: stonedDiscord <Tukz@gmx.de> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index d2d4107..d981bff 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -986,6 +986,8 @@ private slots:
void evidence_switch(bool global);
void on_evidence_save_clicked();
void on_evidence_load_clicked();
+ void evidence_save(QString filename);
+ void evidence_load(QString filename);
bool compare_evidence_changed(evi_type evi_a, evi_type evi_b);
void on_back_to_lobby_clicked();