aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-20 20:04:06 +0000
committersaturneric <[email protected]>2024-12-20 20:04:06 +0000
commitba79d77f5f432923024f008b767885a84ce58555 (patch)
treefe3ee68fd32f8e7cc57b2cb76dfe6d0ad07caa4d
parentfix: adjust the width of key list cell correctly (diff)
downloadGpgFrontend-ba79d77f5f432923024f008b767885a84ce58555.tar.gz
GpgFrontend-ba79d77f5f432923024f008b767885a84ce58555.zip
fix: symbols link error on mingw64
-rw-r--r--src/ui/model/GpgKeyTableProxyModel.cpp4
-rw-r--r--src/ui/model/GpgKeyTableProxyModel.h7
2 files changed, 5 insertions, 6 deletions
diff --git a/src/ui/model/GpgKeyTableProxyModel.cpp b/src/ui/model/GpgKeyTableProxyModel.cpp
index 90ad2c6a..5fa5bea4 100644
--- a/src/ui/model/GpgKeyTableProxyModel.cpp
+++ b/src/ui/model/GpgKeyTableProxyModel.cpp
@@ -34,7 +34,7 @@
#include "core/struct/cache_object/AllFavoriteKeyPairsCO.h"
#include "core/utils/GpgUtils.h"
-namespace GpgFrontend {
+namespace GpgFrontend::UI {
GpgKeyTableProxyModel::GpgKeyTableProxyModel(
QSharedPointer<GpgKeyTableModel> model, GpgKeyTableDisplayMode display_mode,
@@ -274,4 +274,4 @@ auto GpgKeyTableProxyModel::headerData(int section, Qt::Orientation orientation,
return sourceModel()->headerData(section, orientation, role);
}
-} // namespace GpgFrontend \ No newline at end of file
+} // namespace GpgFrontend::UI \ No newline at end of file
diff --git a/src/ui/model/GpgKeyTableProxyModel.h b/src/ui/model/GpgKeyTableProxyModel.h
index ffca5a6f..44ceee45 100644
--- a/src/ui/model/GpgKeyTableProxyModel.h
+++ b/src/ui/model/GpgKeyTableProxyModel.h
@@ -33,10 +33,9 @@
#include "core/model/GpgKeyTableModel.h"
-namespace GpgFrontend {
+namespace GpgFrontend::UI {
-class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel
- : public QSortFilterProxyModel {
+class GpgKeyTableProxyModel : public QSortFilterProxyModel {
Q_OBJECT
public:
using KeyFilter = std::function<bool(const GpgKey &)>;
@@ -109,4 +108,4 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel
QFontMetrics default_metrics_;
};
-} // namespace GpgFrontend \ No newline at end of file
+} // namespace GpgFrontend::UI \ No newline at end of file