diff options
author | saturneric <[email protected]> | 2024-07-30 17:13:31 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-30 17:13:31 +0000 |
commit | 5d0b30a9152367714ad839d8e41332c0879f6a98 (patch) | |
tree | 774a5a8dd17bfc9de07c3be0ef917c9c4e5625a2 /src/core/model/GpgKeyTableModel.h | |
parent | fix: do some build config clean up (diff) | |
download | GpgFrontend-5d0b30a9152367714ad839d8e41332c0879f6a98.tar.gz GpgFrontend-5d0b30a9152367714ad839d8e41332c0879f6a98.zip |
fix: use standard qt version checking macro
Diffstat (limited to 'src/core/model/GpgKeyTableModel.h')
-rw-r--r-- | src/core/model/GpgKeyTableModel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/model/GpgKeyTableModel.h b/src/core/model/GpgKeyTableModel.h index 376af404..2c8ab9fa 100644 --- a/src/core/model/GpgKeyTableModel.h +++ b/src/core/model/GpgKeyTableModel.h @@ -206,10 +206,11 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyTableModel : public QAbstractTableModel { private: GpgKeyList buffered_keys_; QStringList column_headers_; -#ifdef QT5_BUILD - QVector<bool> key_check_state_; -#else + +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 4) QList<bool> key_check_state_; +#else + QVector<bool> key_check_state_; #endif }; |