summaryrefslogtreecommitdiff
path: root/src/nexusinterface.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-09-15 15:20:00 +0200
committerTannin <devnull@localhost>2013-09-15 15:20:00 +0200
commit98e5e57a845541acddf519a81957261f58008cb9 (patch)
treece3c8f9c5b7c4b48e46b5d825f49a752ad62d10d /src/nexusinterface.cpp
parentdce78b62b839c17f41a0fcd2890ffc0005be7a3b (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.cpp9
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;
}