Skip to content

Commit

Permalink
[Startup > Thumbnails] Fix: keep whether settings are disabled or not…
Browse files Browse the repository at this point in the history
… between settings
  • Loading branch information
luspi committed May 19, 2016
1 parent 6c70cf1 commit ca190e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cplusplus/startup/thumbnails.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ namespace StartupCheck {
*settingsText = settingsText->replace("ThumbnailDisable=0","ThumbnailDisable=1");
else if(!settingsText->contains("ThumbnailDisable="))
*settingsText += "ThumbnailDisable=1\n";
} else {
if(settingsText->contains("ThumbnailDisable=1"))
*settingsText = settingsText->replace("ThumbnailDisable=1","ThumbnailDisable=0");
}

// --> (2)
Expand Down

0 comments on commit ca190e4

Please sign in to comment.