Hide the score column by default

This commit is contained in:
David Sansome 2010-11-01 21:20:12 +00:00
parent 9e20ef13bc
commit 3819a039c8
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@
#include <math.h>
const char* PlaylistView::kSettingsGroup = "Playlist";
const int PlaylistView::kStateVersion = 1;
const int PlaylistView::kStateVersion = 2;
const int PlaylistView::kGlowIntensitySteps = 24;
const int PlaylistView::kAutoscrollGraceTimeout = 60; // seconds
const int PlaylistView::kDropIndicatorWidth = 2;
@ -198,6 +198,9 @@ void PlaylistView::LoadGeometry() {
header_->HideSection(Playlist::Column_SkipCount);
header_->HideSection(Playlist::Column_LastPlayed);
}
if (state_version < 2) {
header_->HideSection(Playlist::Column_Score);
}
}
void PlaylistView::SaveGeometry() {