diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2014-02-09 17:51:19 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-09 14:04:37 -0800 |
commit | 9eb47602dd86e3233ee7a0ce1a10e5021c282489 (patch) | |
tree | d621b6a22865df4ed30a8d3fc9e6503839f138fc /qt-ui/subsurfacewebservices.cpp | |
parent | a8823c1793362d30477905917c59ec47dc2f2717 (diff) | |
download | subsurface-9eb47602dd86e3233ee7a0ce1a10e5021c282489.tar.gz |
Cleanup SubsurfaceWebServices class
* Remove statuic SubsurfaceWebServices::instance() member.
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
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; |