From d3513b65eef1752514318ae33d98f48820ece5af 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ee1077dbad01a489750f543f2bffa3d0285be61e Author: Thilo Graf Date: 2012-07-17 (Tue, 17 Jul 2012) Origin message was: ------------------ *components: fix wrong parameter ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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