diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-25 19:14:04 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-25 19:14:04 -0600 |
commit | bfa4a2e11e0c31418d21a91eca7495589c50c11e (patch) | |
tree | 8f5202581b2877018dd0fc6c7b3529572dcae0dd /src/gui/widgets | |
parent | 34b7a86d06eba936c0642bc66ba104e4669d6b01 (diff) | |
download | mana-client-bfa4a2e11e0c31418d21a91eca7495589c50c11e.tar.gz mana-client-bfa4a2e11e0c31418d21a91eca7495589c50c11e.tar.bz2 mana-client-bfa4a2e11e0c31418d21a91eca7495589c50c11e.tar.xz mana-client-bfa4a2e11e0c31418d21a91eca7495589c50c11e.zip |
Merged relevent changes from TMW commit
dfcc6397848d4597b386b688f689352de6c19ae2
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/resizegrip.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/resizegrip.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/resizegrip.cpp b/src/gui/widgets/resizegrip.cpp index f3cc4f83..3dbf6d1a 100644 --- a/src/gui/widgets/resizegrip.cpp +++ b/src/gui/widgets/resizegrip.cpp @@ -34,7 +34,7 @@ Image *ResizeGrip::gripImage = 0; int ResizeGrip::mInstances = 0; float ResizeGrip::mAlpha = config.getValue("guialpha", 0.8); -ResizeGrip::ResizeGrip(std::string image) +ResizeGrip::ResizeGrip(const std::string &image) { if (mInstances == 0) { diff --git a/src/gui/widgets/resizegrip.h b/src/gui/widgets/resizegrip.h index 7c96af45..83af24da 100644 --- a/src/gui/widgets/resizegrip.h +++ b/src/gui/widgets/resizegrip.h @@ -40,7 +40,7 @@ class ResizeGrip : public gcn::Widget /** * Constructor. */ - ResizeGrip(std::string image = "graphics/gui/resize.png"); + ResizeGrip(const std::string &image = "graphics/gui/resize.png"); /** * Destructor. |