summaryrefslogtreecommitdiff
path: root/plugingui/diskstreamingframecontent.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-21 09:16:02 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-21 09:16:02 +0200
commitaf01e8e8031bc9c0c29cc3afe17a63fded5dbeeb (patch)
tree7e7eb1485ed8a2f5beb12fa8e7b8443746df27fc /plugingui/diskstreamingframecontent.h
parent07b5f422e7d5172992127feca05a1cf1a551dab5 (diff)
Add minimum memory value to the diskstreaming slider.
Diffstat (limited to 'plugingui/diskstreamingframecontent.h')
-rw-r--r--plugingui/diskstreamingframecontent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/diskstreamingframecontent.h b/plugingui/diskstreamingframecontent.h
index 7b17408..bc26806 100644
--- a/plugingui/diskstreamingframecontent.h
+++ b/plugingui/diskstreamingframecontent.h
@@ -53,6 +53,7 @@ private:
void reloadClicked();
// For now the maximum disk streaming limit is 4GB
+ static constexpr std::size_t min_limit = 1024.0 * 1024.0 * 32;
static constexpr std::size_t max_limit = 1024.0 * 1024.0 * 1024.0 * 4.0 - 1;
Label label_text{this};