diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-01 19:01:25 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-01 19:01:25 +0200 |
commit | 1f41de14a04240dfd993b030306ac251d962a843 (patch) | |
tree | 08d5ef8b74793909a15cb8f3c0b7732819a41f8a /plugingui/diskstreamingframecontent.cc | |
parent | 4739f0bed6e6332fcf2c6ed2b04c4ae161c41060 (diff) |
Fix a lot of style issues in the code for the new GUI.
Diffstat (limited to 'plugingui/diskstreamingframecontent.cc')
-rw-r--r-- | plugingui/diskstreamingframecontent.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/diskstreamingframecontent.cc b/plugingui/diskstreamingframecontent.cc index 0d17aaf..bb4cfc3 100644 --- a/plugingui/diskstreamingframecontent.cc +++ b/plugingui/diskstreamingframecontent.cc @@ -26,11 +26,11 @@ */ #include "diskstreamingframecontent.h" -namespace GUI { +namespace GUI +{ DiskstreamingframeContent::DiskstreamingframeContent(Widget* parent) - : Widget(parent) - , slider_width{250} + : Widget(parent), slider_width{250} { label_text.setText("Cache limit (max memory usage):"); label_text.setAlignment(TextAlignment::center); @@ -48,7 +48,7 @@ void DiskstreamingframeContent::resize(std::size_t width, std::size_t height) slider_width = 0.8 * width; button_width = width - slider_width; - label_text.move(0,0); + label_text.move(0, 0); slider.move(0, 20); button.move(slider_width, 10); label_size.move(0, 40); |