From ee1077dbad01a489750f543f2bffa3d0285be61e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 17 Jul 2012 14:48:31 +0200 Subject: [PATCH] *components: fix wrong parameter --- src/gui/widget/components.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/widget/components.h b/src/gui/widget/components.h index 59595db53..1cc78bca4 100644 --- a/src/gui/widget/components.h +++ b/src/gui/widget/components.h @@ -43,10 +43,8 @@ class CComponents virtual void setXPos(const int& xpos){x = xpos;}; virtual void setYPos(const int& ypos){y = ypos;}; - virtual void setHeight(const int& h){width = h;}; - virtual void setWidth(const int& w){height = w;}; - - + virtual void setHeight(const int& h){height = h;}; + virtual void setWidth(const int& w){width = w;}; }; class CComponentsDetailLine : public CComponents