summaryrefslogtreecommitdiff
path: root/plugingui/drumkitframecontent.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-05-19 19:09:17 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-05-19 19:09:17 +0200
commitff83cfac10939ceba524c93d4e36f634f4bec805 (patch)
treed481913f2136bf04d2d1deb650e6bd084a531676 /plugingui/drumkitframecontent.h
parenta3dc9bd19f976cbc84ba3d1a16c72257b42b28ba (diff)
Make sure we don't resize to negative values.
Diffstat (limited to 'plugingui/drumkitframecontent.h')
-rw-r--r--plugingui/drumkitframecontent.h6
1 files changed, 3 insertions, 3 deletions
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