diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2026-05-15 09:23:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-15 02:23:09 -0500 |
| commit | 55de581ee9829c5fcb5bae37504fad4e89cac721 (patch) | |
| tree | d126ea862033f96da7381fc40322216af51adf66 /src/organizercore.h | |
| parent | 6748953d35516b948d83dd135cc970c805efeff0 (diff) | |
Add setting to show notifications when downloads complete or fail (#2338)
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index 80f340b6..d7810e1b 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -8,6 +8,7 @@ #include <QSettings> #include <QString> #include <QStringList> +#include <QSystemTrayIcon> #include <QThread> #include <QVariant> @@ -360,6 +361,10 @@ public: static void setGlobalCoreDumpType(env::CoreDumpTypes type); static std::wstring getGlobalCoreDumpPath(); + void showNotification( + const QString& title, const QString& message, + QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::MessageIcon::Information); + public: MOBase::IModRepositoryBridge* createNexusBridge() const; QString profileName() const; |
