summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-20 23:26:38 -0700
committerIra Rice <irarice@gmail.com>2009-01-20 23:26:38 -0700
commitca6126a4d2def180183ae86e626dd138c4a14ebe (patch)
tree34ceb68cf1330edc7390e1d5423d7999f7b312fb /src
parentf4a57afa912826499ca8ff5a7b74fa69ba04f0ac (diff)
downloadmana-ca6126a4d2def180183ae86e626dd138c4a14ebe.tar.gz
mana-ca6126a4d2def180183ae86e626dd138c4a14ebe.tar.bz2
mana-ca6126a4d2def180183ae86e626dd138c4a14ebe.tar.xz
mana-ca6126a4d2def180183ae86e626dd138c4a14ebe.zip
Fixed a double free error created by not deleting the older add methods
from the help window. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/help.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/help.cpp b/src/gui/help.cpp
index 2cda898a..cd249943 100644
--- a/src/gui/help.cpp
+++ b/src/gui/help.cpp
@@ -50,9 +50,6 @@ HelpWindow::HelpWindow():
mBrowserBox->setLinkHandler(this);
- add(mScrollArea);
- add(okButton);
-
place(0, 0, mScrollArea, 5, 3).setPadding(3);
place(4, 3, okButton);