Minor code cleanup and fixes

This commit is contained in:
Jonas Kvinge
2018-10-20 22:16:22 +02:00
parent 0c0a8d70f3
commit 5221f13498
4 changed files with 42 additions and 30 deletions

View File

@@ -97,6 +97,7 @@ class PlaylistView : public QTreeView {
};
PlaylistView(QWidget *parent = nullptr);
~PlaylistView();
static const int kStateVersion;
// Constants for settings: are persistent, values should not be changed
@@ -216,7 +217,7 @@ class PlaylistView : public QTreeView {
bool setting_initial_header_layout_;
bool upgrading_from_qheaderview_;
bool read_only_settings_;
int upgrading_from_version_;
bool header_loaded_;
bool background_initialized_;
BackgroundImageType background_image_type_;