summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/diskstreamingframecontent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/diskstreamingframecontent.h b/plugingui/diskstreamingframecontent.h
index 2b34bc5..7b17408 100644
--- a/plugingui/diskstreamingframecontent.h
+++ b/plugingui/diskstreamingframecontent.h
@@ -53,7 +53,7 @@ private:
void reloadClicked();
// For now the maximum disk streaming limit is 4GB
- static constexpr std::size_t max_limit = 1024.0 * 1024.0 * 1024.0 * 4.0;
+ static constexpr std::size_t max_limit = 1024.0 * 1024.0 * 1024.0 * 4.0 - 1;
Label label_text{this};
Label label_size{this};