diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-02-03 10:53:19 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-02-03 14:38:20 +0100 |
commit | 86c4819bee1bcd990b6be20f36dcb26938acac8e (patch) | |
tree | cb43808529b6bd0e7d540803630e03f33ee3c26d /src/gui/widgets/button.h | |
parent | 19bc88f34713968864922f8f3f2342d10c4f4dbd (diff) | |
download | mana-86c4819bee1bcd990b6be20f36dcb26938acac8e.tar.gz mana-86c4819bee1bcd990b6be20f36dcb26938acac8e.tar.bz2 mana-86c4819bee1bcd990b6be20f36dcb26938acac8e.tar.xz mana-86c4819bee1bcd990b6be20f36dcb26938acac8e.zip |
Changed the setup button at login stage to use the icon.
I also made the button not readjust its size when deleted
to avoid a crash.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 467a9125..f07bb913 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -89,7 +89,7 @@ class Button : public gcn::Button private: void init(); - void removeButtonIcon(); + void removeButtonIcon(bool adjustButtonSize = true); static ImageRect* mButton; /**< Button state graphics */ static int mInstances; /**< Number of button instances */ |