diff options
| author | Qudix <17361645+Qudix@users.noreply.github.com> | 2020-11-11 02:03:17 -0600 |
|---|---|---|
| committer | Qudix <17361645+Qudix@users.noreply.github.com> | 2020-11-11 02:03:17 -0600 |
| commit | 02c2329857718174b86c3cb2a2246e902fad67e0 (patch) | |
| tree | 27e959077a8b519fb29f877a4c420e6cef1f49cd /src/settings.cpp | |
| parent | e1dceec67a53f5332b2f92ac2901309f0c0ed882 (diff) | |
Add a toggle for tracking
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 54d32786..75e2fd83 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1850,6 +1850,16 @@ void NexusSettings::setEndorsementState(EndorsementState s) } } +bool NexusSettings::trackedIntegration() const +{ + return get<bool>(m_Settings, "Settings", "tracked_integration", true); +} + +void NexusSettings::setTrackedIntegration(bool b) const +{ + set(m_Settings, "Settings", "tracked_integration", b); +} + void NexusSettings::registerAsNXMHandler(bool force) { const auto nxmPath = QCoreApplication::applicationDirPath() + "/nxmhandler.exe"; |
