diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-05-19 19:09:17 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-05-19 19:09:17 +0200 |
commit | ff83cfac10939ceba524c93d4e36f634f4bec805 (patch) | |
tree | d481913f2136bf04d2d1deb650e6bd084a531676 /plugingui/diskstreamingframecontent.h | |
parent | a3dc9bd19f976cbc84ba3d1a16c72257b42b28ba (diff) |
Make sure we don't resize to negative values.
Diffstat (limited to 'plugingui/diskstreamingframecontent.h')
-rw-r--r-- | plugingui/diskstreamingframecontent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/diskstreamingframecontent.h b/plugingui/diskstreamingframecontent.h index 0f9a098..e404807 100644 --- a/plugingui/diskstreamingframecontent.h +++ b/plugingui/diskstreamingframecontent.h @@ -63,8 +63,8 @@ private: Slider slider{this}; Button button{this}; - std::size_t slider_width; - std::size_t button_width; + int slider_width; + int button_width; Settings& settings; SettingsNotifier& settings_notifier; |