Skip to content

Commit ba79d77

Browse files
committed
fix: symbols link error on mingw64
1 parent ee34918 commit ba79d77

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/ui/model/GpgKeyTableProxyModel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "core/struct/cache_object/AllFavoriteKeyPairsCO.h"
3535
#include "core/utils/GpgUtils.h"
3636

37-
namespace GpgFrontend {
37+
namespace GpgFrontend::UI {
3838

3939
GpgKeyTableProxyModel::GpgKeyTableProxyModel(
4040
QSharedPointer<GpgKeyTableModel> model, GpgKeyTableDisplayMode display_mode,
@@ -274,4 +274,4 @@ auto GpgKeyTableProxyModel::headerData(int section, Qt::Orientation orientation,
274274

275275
return sourceModel()->headerData(section, orientation, role);
276276
}
277-
} // namespace GpgFrontend
277+
} // namespace GpgFrontend::UI

src/ui/model/GpgKeyTableProxyModel.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@
3333

3434
#include "core/model/GpgKeyTableModel.h"
3535

36-
namespace GpgFrontend {
36+
namespace GpgFrontend::UI {
3737

38-
class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel
39-
: public QSortFilterProxyModel {
38+
class GpgKeyTableProxyModel : public QSortFilterProxyModel {
4039
Q_OBJECT
4140
public:
4241
using KeyFilter = std::function<bool(const GpgKey &)>;
@@ -109,4 +108,4 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel
109108
QFontMetrics default_metrics_;
110109
};
111110

112-
} // namespace GpgFrontend
111+
} // namespace GpgFrontend::UI

0 commit comments

Comments
 (0)