Advertisement
svenhoefer

Untitled

Sep 13th, 2017
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.92 KB | None | 0 0
  1. diff --git a/src/neutrino.cpp b/src/neutrino.cpp
  2. index 15023c7..57a41f9 100644
  3. --- a/src/neutrino.cpp
  4. +++ b/src/neutrino.cpp
  5. @@ -1053,6 +1053,11 @@ void CNeutrinoApp::upgradeSetup(const char * fname)
  6.         configfile.deleteKey("screen_width");
  7.         configfile.deleteKey("screen_height");
  8.     }
  9. +   if (g_settings.version_pseudo < "20170913110000")
  10. +   {
  11. +       //remove easymenu
  12. +       configfile.deleteKey("easymenu");
  13. +   }
  14.  
  15.     g_settings.version_pseudo = NEUTRINO_VERSION_PSEUDO;
  16.     configfile.setString("version_pseudo", g_settings.version_pseudo);
  17. @@ -1070,11 +1075,6 @@ void CNeutrinoApp::saveSetup(const char * fname)
  18.     if(!scansettings.saveSettings(NEUTRINO_SCAN_SETTINGS_FILE)) {
  19.         dprintf(DEBUG_NORMAL, "error while saving scan-settings!\n");
  20.     }
  21. -   if (g_settings.version_pseudo < "20170913110000")
  22. -   {
  23. -       //remove easymenu
  24. -       configfile.deleteKey("easymenu");
  25. -   }
  26.  
  27.     //theme/color options
  28.     CThemes::setTheme(configfile);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement