viewer: automatically update maximum scroll from media length

This commit is contained in:
itsmattkc
2020-02-01 23:09:25 +11:00
parent c0360abee1
commit 9b7cbb3fbd
5 changed files with 66 additions and 3 deletions
+1
View File
@@ -74,6 +74,7 @@ void Config::SetDefaults()
config_map_["AutoscaleByDefault"] = false;
config_map_["Autoscroll"] = AutoScroll::kPage;
config_map_["DefaultViewerDivider"] = 2;
config_map_["AutoSelectDivider"] = false;
config_map_["DiskCachePath"] = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
config_map_["DiskCacheSize"] = 20.0;