feat(macOS): support file open event for association

This commit is contained in:
2024-12-03 23:25:00 +08:00
parent e64b871a2f
commit 64c4d2e064
2 changed files with 20 additions and 0 deletions

View File

@ -77,6 +77,9 @@ protected slots:
protected:
QSize sizeHint() const override;
#ifdef Q_OS_MACOS
bool eventFilter(QObject *obj, QEvent *event) override;
#endif // Q_OS_MACOS
private slots:
void on_actionOpen_triggered();