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/GpgKeyTableProxyModel.cpp | |
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/GpgKeyTableProxyModel.cpp')
-rw-r--r-- | src/core/model/GpgKeyTableProxyModel.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/model/GpgKeyTableProxyModel.cpp b/src/core/model/GpgKeyTableProxyModel.cpp index 1fde6127..f1e715cd 100644 --- a/src/core/model/GpgKeyTableProxyModel.cpp +++ b/src/core/model/GpgKeyTableProxyModel.cpp @@ -169,10 +169,11 @@ void GpgKeyTableProxyModel::slot_update_favorites() { void GpgKeyTableProxyModel::slot_update_column_type( GpgKeyTableColumn filter_columns) { filter_columns_ = filter_columns; -#ifdef QT5_BUILD - invalidateFilter(); -#else + +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 4) invalidateColumnsFilter(); +#else + invalidateFilter(); #endif } |