diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 17:03:55 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 17:03:55 +0000 |
commit | b2b13c21091b516b57b4bf3c91a313f019bf3579 (patch) | |
tree | 995e63ecadf1ea16c94b9d39b66a367358b5a27a /src/gui/skill.cpp | |
parent | c09825097c0231c57f9ac416fae0003c5d68398c (diff) | |
download | mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.gz mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.bz2 mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.xz mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.zip |
Fixed my breakage of persistent window dimensions. Cleaned a few things along the way.
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r-- | src/gui/skill.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index c9babda2..884b3744 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -63,7 +63,6 @@ const char *skill_db[] = { SkillDialog::SkillDialog(): Window("Skills") { - setWindowName("Skills"); setDefaultSize(windowContainer->getWidth() - 255, 25, 240, 240); mSkillListBox = new ListBox(this); @@ -84,7 +83,7 @@ SkillDialog::SkillDialog(): mSkillListBox->addActionListener(this); setLocationRelativeTo(getParent()); - loadWindowState(); + loadWindowState("Skills"); } SkillDialog::~SkillDialog() |