From ff83cfac10939ceba524c93d4e36f634f4bec805 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 19 May 2017 19:09:17 +0200 Subject: Make sure we don't resize to negative values. --- plugingui/drumkitframecontent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugingui/drumkitframecontent.h') diff --git a/plugingui/drumkitframecontent.h b/plugingui/drumkitframecontent.h index c6e0942..866b720 100644 --- a/plugingui/drumkitframecontent.h +++ b/plugingui/drumkitframecontent.h @@ -61,9 +61,9 @@ private: LineEdit lineedit{this}; Button browse_button{this}; - std::size_t lineedit_width; - std::size_t button_width; - std::size_t gap{10}; + int lineedit_width; + int button_width; + int gap{10}; }; class DrumkitframeContent -- cgit v1.2.3