aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgKeyTableProxyModel.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-30 17:13:31 +0000
committersaturneric <[email protected]>2024-07-30 17:13:31 +0000
commit5d0b30a9152367714ad839d8e41332c0879f6a98 (patch)
tree774a5a8dd17bfc9de07c3be0ef917c9c4e5625a2 /src/core/model/GpgKeyTableProxyModel.cpp
parentfix: do some build config clean up (diff)
downloadGpgFrontend-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.cpp7
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
}