X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtui.cpp;h=0ae5ceea1ffc7e12e5986b6aa9a105826185bf57;hb=99173bd223807ad1b904555e2a22779137f25a43;hp=9dbc60afb05b54fe5939ffeff373d2d7ca9b4dee;hpb=8a0d40791b63681ae500f6497a06fdd3f6b085ba;p=quassel.git diff --git a/src/qtui/qtui.cpp b/src/qtui/qtui.cpp index 9dbc60af..0ae5ceea 100644 --- a/src/qtui/qtui.cpp +++ b/src/qtui/qtui.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2010 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -37,8 +37,8 @@ # include #endif -QPointer QtUi::_instance = 0; -QPointer QtUi::_mainWin = 0; +QtUi *QtUi::_instance = 0; +MainWin *QtUi::_mainWin = 0; QList QtUi::_notificationBackends; QList QtUi::_notifications; @@ -67,6 +67,8 @@ QtUi::QtUi() : GraphicalUi() { QtUi::~QtUi() { unregisterAllNotificationBackends(); delete _mainWin; + _mainWin = 0; + _instance = 0; } void QtUi::init() {