From 3db999ff2d3324ffad6ba6a469ca224c8d864dc3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Aug 2013 22:45:19 +0300 Subject: add some more missing checks. --- src/gui/socialwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/socialwindow.cpp') diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index c182df9ab..f25ca3e37 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -1302,7 +1302,8 @@ SocialWindow::SocialWindow() : setMinWidth(120); setMinHeight(55); setDefaultSize(590, 200, 180, 300); - setupWindow->registerWindowForReset(this); + if (setupWindow) + setupWindow->registerWindowForReset(this); place(0, 0, mCreateButton); place(1, 0, mInviteButton); -- cgit v1.2.3-70-g09d2