diff options
| author | Tannin <devnull@localhost> | 2013-09-15 15:20:00 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-09-15 15:20:00 +0200 |
| commit | 98e5e57a845541acddf519a81957261f58008cb9 (patch) | |
| tree | ce3c8f9c5b7c4b48e46b5d825f49a752ad62d10d /src/nexusinterface.cpp | |
| parent | dce78b62b839c17f41a0fcd2890ffc0005be7a3b (diff) | |
- added support for mod page plugins
- re-introduced the integrated browser
- added a plugin to download from the tes alliance page
- the download list now contains the file description
- nexus interface now stores cookies persistently to reduce number of required log-ins
Diffstat (limited to 'src/nexusinterface.cpp')
| -rw-r--r-- | src/nexusinterface.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp index cd78ca4c..44bf03ef 100644 --- a/src/nexusinterface.cpp +++ b/src/nexusinterface.cpp @@ -155,15 +155,16 @@ NXMAccessManager *NexusInterface::getAccessManager() } -NexusInterface *NexusInterface::s_Instance = NULL; +//NexusInterface *NexusInterface::s_Instance = NULL; NexusInterface *NexusInterface::instance() { - if (s_Instance == NULL) { + static NexusInterface s_Instance; +/* if (s_Instance == NULL) { s_Instance = new NexusInterface; - } - return s_Instance; + }*/ + return &s_Instance; } |
