diff options
author | saturneric <[email protected]> | 2024-07-29 01:48:21 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 01:48:21 +0000 |
commit | 3dccd8cff1c3b063110e00112b0878de887daca3 (patch) | |
tree | 68fdeebd5ffe8bbbc53845559d7754bc8154976d /src/core/model/GpgKeyTableProxyModel.cpp | |
parent | fix: copy is not the real one (diff) | |
download | GpgFrontend-3dccd8cff1c3b063110e00112b0878de887daca3.tar.gz GpgFrontend-3dccd8cff1c3b063110e00112b0878de887daca3.zip |
fix: solve qt5 problems
Diffstat (limited to 'src/core/model/GpgKeyTableProxyModel.cpp')
-rw-r--r-- | src/core/model/GpgKeyTableProxyModel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/model/GpgKeyTableProxyModel.cpp b/src/core/model/GpgKeyTableProxyModel.cpp index aa5cc4b1..aebe06ef 100644 --- a/src/core/model/GpgKeyTableProxyModel.cpp +++ b/src/core/model/GpgKeyTableProxyModel.cpp @@ -169,7 +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 invalidateColumnsFilter(); +#endif } } // namespace GpgFrontend
\ No newline at end of file |