aboutsummaryrefslogtreecommitdiff
path: root/src/evidence.cpp
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-25 03:45:44 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-30 13:07:11 +0000
commitf86a8fe59b6b41229cc9353d3144d0381494fed1 (patch)
treec5cc99a7cd02240e520401290f26539335f75197 /src/evidence.cpp
parent80951bce78279a5e306983962b7367b7e1735fa8 (diff)
Drop Qt major version checks
We only support Qt 6, remove all conditional code that was dependent on earlier versions.
Diffstat (limited to 'src/evidence.cpp')
-rw-r--r--src/evidence.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/evidence.cpp b/src/evidence.cpp
index aab7c8c..dec67b8 100644
--- a/src/evidence.cpp
+++ b/src/evidence.cpp
@@ -860,9 +860,6 @@ void Courtroom::evidence_load(QString filename)
return;
}
QSettings inventory(filename, QSettings::IniFormat);
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
- inventory.setIniCodec("UTF-8");
-#endif
private_evidence_list.clear();
foreach (QString evi, inventory.childGroups())
{
@@ -889,9 +886,6 @@ void Courtroom::evidence_save(QString filename)
}
QSettings inventory(filename, QSettings::IniFormat);
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
- inventory.setIniCodec("UTF-8");
-#endif
inventory.clear();
for (int i = 0; i < private_evidence_list.size(); i++)
{