diff options
Diffstat (limited to 'plugingui/diskstreamingframecontent.h')
-rw-r--r-- | plugingui/diskstreamingframecontent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugingui/diskstreamingframecontent.h b/plugingui/diskstreamingframecontent.h index bcdbef9..2b34bc5 100644 --- a/plugingui/diskstreamingframecontent.h +++ b/plugingui/diskstreamingframecontent.h @@ -48,10 +48,13 @@ public: virtual void resize(std::size_t width, std::size_t height) override; private: - void limitSettingsValueChanged(float value); + void limitSettingsValueChanged(std::size_t value); void limitValueChanged(float value); 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; + Label label_text{this}; Label label_size{this}; |