diff options
author | saturneric <[email protected]> | 2025-01-26 18:40:43 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-26 18:40:43 +0000 |
commit | 731ec7339dc6f251a814d4aef59c05b1900ecf3f (patch) | |
tree | 3c0abf0dafb81578c97c0c9d169acbff99cb94d0 /src/core/function/gpg/GpgKeyManager.cpp | |
parent | fix: optimums unknown fpr verifying helper (diff) | |
download | GpgFrontend-731ec7339dc6f251a814d4aef59c05b1900ecf3f.tar.gz GpgFrontend-731ec7339dc6f251a814d4aef59c05b1900ecf3f.zip |
fix: improve code compatibility
Diffstat (limited to '')
-rw-r--r-- | src/core/function/gpg/GpgKeyManager.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/function/gpg/GpgKeyManager.cpp b/src/core/function/gpg/GpgKeyManager.cpp index 674a3884..afa775eb 100644 --- a/src/core/function/gpg/GpgKeyManager.cpp +++ b/src/core/function/gpg/GpgKeyManager.cpp @@ -271,13 +271,8 @@ auto GpgKeyManager::RevokeSubkey(const GpgKey& key, int subkey_index, } // dealing with reason text -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 4) - auto reason_text_lines = SecureCreateSharedObject<QList<QString>>( + auto reason_text_lines = SecureCreateSharedObject<QStringList>( reason_text.split('\n', Qt::SkipEmptyParts).toVector()); -#else - auto reason_text_lines = SecureCreateSharedObject<QVector<QString>>( - reason_text.split('\n', Qt::SkipEmptyParts).toVector()); -#endif AutomatonNextStateHandler next_state_handler = [](AutomatonState state, QString status, QString args) { |