fix: fixed system tray open site link (#1686)

* added signal-slot connection between corecontroller and systemtraynofificationhandler updating websiteurl

* cleared up the commented lines
This commit is contained in:
Mitternacht822
2025-08-01 07:50:31 +04:00
committed by GitHub
parent d53c794936
commit d15c0bd962
4 changed files with 17 additions and 1 deletions
@@ -21,6 +21,9 @@ public:
void onTranslationsUpdated() override;
public slots:
void updateWebsiteUrl(const QString &newWebsiteUrl);
protected:
virtual void notify(Message type, const QString& title,
const QString& message, int timerMsec) override;
@@ -48,6 +51,7 @@ private:
const QString ConnectedTrayIconName = "active.png";
const QString DisconnectedTrayIconName = "default.png";
const QString ErrorTrayIconName = "error.png";
QString websiteUrl = "https://amnezia.org";
};
#endif // SYSTEMTRAY_NOTIFICATIONHANDLER_H