Skip to content

Commit

Permalink
fix: symbols link error on mingw64
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Dec 20, 2024
1 parent ee34918 commit ba79d77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/ui/model/GpgKeyTableProxyModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -274,4 +274,4 @@ auto GpgKeyTableProxyModel::headerData(int section, Qt::Orientation orientation,

return sourceModel()->headerData(section, orientation, role);
}
} // namespace GpgFrontend
} // namespace GpgFrontend::UI
7 changes: 3 additions & 4 deletions src/ui/model/GpgKeyTableProxyModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 &)>;
Expand Down Expand Up @@ -109,4 +108,4 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel
QFontMetrics default_metrics_;
};

} // namespace GpgFrontend
} // namespace GpgFrontend::UI

0 comments on commit ba79d77

Please sign in to comment.