Fix Explorer integration on Windows and the crash on other systems
authorMichael Schuster <michael@schuster.ms>
Mon, 13 Jan 2020 07:58:02 +0000 (08:58 +0100)
committerMichael Schuster <48932272+misch7@users.noreply.github.com>
Mon, 13 Jan 2020 08:25:01 +0000 (09:25 +0100)
commit8f9101773c4972060e28c1481ae2d5087db490be
tree0a25b55d2319bf9878cbbb0e6d6df124d8645d14
parent43fa27887d75ff9e3447d7f90a050e71ef50f729
Fix Explorer integration on Windows and the crash on other systems

- Ensure that the folder integration stays persistent in Explorer,
  the uninstaller removes the folder upon updating the client.
  Recreate all entries upon start. This has the benefit of removing
  old remains of non-working, outdated entries.

- Don't crash on the other systems when the user clicks the option
  button "Show sync folders in Explorer's Navigation Pane".
  Even though the option currently doesn't work on the other platforms,
  crashing is never good...

Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/navigationpanehelper.cpp