RichPresence: Only initialize discord when enabled

This commit is contained in:
Jonas Kvinge
2025-04-13 21:45:55 +02:00
parent c5e38b71f7
commit 6fa9514059
2 changed files with 26 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ class RichPresence : public QObject {
qint64 seek_secs;
};
Activity activity_;
bool enabled_;
bool initialized_;
};
} // namespace discord