mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Give background_type a default value, as some compilers sometimes wrongly assume that it might be used uninitialized
This commit is contained in:
parent
e9378e0a9a
commit
9dff2dd0b1
@ -978,7 +978,7 @@ void PlaylistView::ReloadSettings() {
|
||||
|
||||
// Background:
|
||||
QVariant q_playlistview_background_type = s.value(kSettingBackgroundImageType);
|
||||
BackgroundImageType background_type;
|
||||
BackgroundImageType background_type(Default);
|
||||
// bg_enabled should also be checked for backward compatibility (in releases
|
||||
// <= 1.0, there was just a boolean to activate/deactivate the background)
|
||||
QVariant bg_enabled = s.value("bg_enabled");
|
||||
|
Loading…
Reference in New Issue
Block a user