aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgKeyTableProxyModel.cpp
diff options
context:
space:
mode:
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
}