From 88e3c870721c8c34490444b2d1d7ee25e5df8dcc Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Thu, 26 Jan 2023 02:51:31 +0800 Subject: [PATCH] cabana: fix a wrong settings key (#27085) fix wrong key old-commit-hash: 892835da7ad02d109794c5dc8e79ec938eebd572 --- tools/cabana/settings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cabana/settings.cc b/tools/cabana/settings.cc index 8c26b265e0..e06d149831 100644 --- a/tools/cabana/settings.cc +++ b/tools/cabana/settings.cc @@ -28,7 +28,7 @@ void Settings::save() { void Settings::load() { QSettings s("settings", QSettings::IniFormat); fps = s.value("fps", 10).toInt(); - max_cached_minutes = s.value("cached_minutes", 5).toInt(); + max_cached_minutes = s.value("max_cached_minutes", 5).toInt(); chart_height = s.value("chart_height", 200).toInt(); chart_range = s.value("chart_range", 3 * 60).toInt(); chart_column_count = s.value("chart_column_count", 1).toInt();