diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-19 01:18:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-20 00:49:07 +0300 |
commit | 26f9aad24bc50d4e9fd161d185df049c9e7a62cf (patch) | |
tree | d8fd87aef6395b5a4704e9570fcbcddcc8ccca83 /src/gui/windows/helpwindow.cpp | |
parent | 50b5afdb7e68cdec8f77020b578dc3f6874933bb (diff) | |
download | manaplus-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.gz manaplus-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.bz2 manaplus-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.tar.xz manaplus-26f9aad24bc50d4e9fd161d185df049c9e7a62cf.zip |
improve includes.
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r-- | src/gui/windows/helpwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp index 7457c7b1e..fa9963217 100644 --- a/src/gui/windows/helpwindow.cpp +++ b/src/gui/windows/helpwindow.cpp @@ -24,7 +24,7 @@ #include "configuration.h" -#include "gui/font.h" +#include "gui/gui.h" #include "gui/windows/didyouknowwindow.h" #include "gui/windows/setupwindow.h" @@ -73,7 +73,8 @@ HelpWindow::HelpWindow() : mBrowserBox->setOpaque(false); mBrowserBox->setLinkHandler(this); - mBrowserBox->setFont(gui->getHelpFont()); + if (gui) + mBrowserBox->setFont(gui->getHelpFont()); mBrowserBox->setProcessVersion(true); mBrowserBox->setEnableImages(true); mBrowserBox->setEnableKeys(true); |