From 98e5e57a845541acddf519a81957261f58008cb9 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 15 Sep 2013 15:20:00 +0200 Subject: - 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 --- src/nexusinterface.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/nexusinterface.cpp') 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; } -- cgit v1.3.1