summaryrefslogtreecommitdiff
path: root/plugingui/diskstreamingframecontent.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-01 19:01:25 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-01 19:01:25 +0200
commit1f41de14a04240dfd993b030306ac251d962a843 (patch)
tree08d5ef8b74793909a15cb8f3c0b7732819a41f8a /plugingui/diskstreamingframecontent.cc
parent4739f0bed6e6332fcf2c6ed2b04c4ae161c41060 (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.cc8
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);