summaryrefslogtreecommitdiff
path: root/src/gui/didyouknowwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-28 22:45:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-29 00:18:57 +0300
commit3db999ff2d3324ffad6ba6a469ca224c8d864dc3 (patch)
tree78ecfd05c1267f7360e42876072ddb21efa1a096 /src/gui/didyouknowwindow.cpp
parent57726c7324f165c70671fc5b05d6c0964f56b870 (diff)
downloadmv-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.tar.gz
mv-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.tar.bz2
mv-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.tar.xz
mv-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.zip
add some more missing checks.
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r--src/gui/didyouknowwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp
index 338b70bf2..4c8a96e51 100644
--- a/src/gui/didyouknowwindow.cpp
+++ b/src/gui/didyouknowwindow.cpp
@@ -70,7 +70,8 @@ DidYouKnowWindow::DidYouKnowWindow() :
setResizable(true);
setStickyButtonLock(true);
- setupWindow->registerWindowForReset(this);
+ if (setupWindow)
+ setupWindow->registerWindowForReset(this);
setDefaultSize(500, 400, ImageRect::CENTER);
mBrowserBox->setOpaque(false);