From 9eb47602dd86e3233ee7a0ce1a10e5021c282489 Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Sun, 9 Feb 2014 17:51:19 +0100 Subject: Cleanup SubsurfaceWebServices class * Remove statuic SubsurfaceWebServices::instance() member. Signed-off-by: Boris Barbulovski Signed-off-by: Dirk Hohndel --- qt-ui/subsurfacewebservices.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'qt-ui/subsurfacewebservices.cpp') diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 08cf72313..80d064d6f 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -310,13 +310,6 @@ void WebServices::resetState() // # // # -SubsurfaceWebServices* SubsurfaceWebServices::instance() -{ - static SubsurfaceWebServices *self = new SubsurfaceWebServices(mainWindow()); - self->setAttribute(Qt::WA_QuitOnClose, false); - return self; -} - SubsurfaceWebServices::SubsurfaceWebServices(QWidget* parent, Qt::WindowFlags f) { QSettings s; -- cgit v1.2.3-70-g09d2