summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-07 01:53:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-07 01:53:51 +0300
commit2492b561385859b7ef76fe816a8dc845f0b9bd09 (patch)
tree62633f8cd7c027c2a8e1bae61264a79394aeb751 /src/gui/widgets/window.h
parentce14a018a6f66aa1309ebe71a8217082d83cd0da (diff)
downloadplus-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.gz
plus-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.bz2
plus-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.xz
plus-2492b561385859b7ef76fe816a8dc845f0b9bd09.zip
Fix some casts between signed and unsigned in some files.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 277e971bb..22378b59a 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -481,7 +481,7 @@ class Window notfinal : public BasicContainer2,
* @param padding The padding of the window.
* @see getPadding
*/
- void setPadding(unsigned int padding)
+ void setPadding(int padding)
{ mPadding = padding; }
/**
@@ -491,7 +491,7 @@ class Window notfinal : public BasicContainer2,
* @return The padding of the window.
* @see setPadding
*/
- unsigned int getPadding() const
+ int getPadding() const
{ return mPadding; }
/**
@@ -605,7 +605,7 @@ class Window notfinal : public BasicContainer2,
/**
* Holds the padding of the window.
*/
- unsigned int mPadding;
+ int mPadding;
/**
* Holds the title bar height of the window.