diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-25 03:45:44 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-30 13:07:11 +0000 |
| commit | f86a8fe59b6b41229cc9353d3144d0381494fed1 (patch) | |
| tree | c5cc99a7cd02240e520401290f26539335f75197 /src/options.cpp | |
| parent | 80951bce78279a5e306983962b7367b7e1735fa8 (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/options.cpp')
| -rw-r--r-- | src/options.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/options.cpp b/src/options.cpp index b0cbb39..74bc3a3 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -24,9 +24,6 @@ void Options::migrateCallwords() } QTextStream in(&l_file); -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - in.setCodec("UTF-8"); -#endif while (!in.atEnd()) { @@ -43,14 +40,7 @@ Options::Options() : config(get_base_path() + "config.ini", QSettings::IniFormat, nullptr) , favorite(get_base_path() + "favorite_servers.ini", QSettings::IniFormat, nullptr) { -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - config.setIniCodec("UTF-8"); -#endif migrate(); - -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - favorite.setIniCodec("UTF-8"); -#endif } /*! Migrate old configuration keys/values to a relevant format. */ |
