Use common method for deleting all account related settings

Status Job ID Name Coverage
  Test
passed #43091
clazy

00:01:04

passed #43092
qmllint

00:00:25

failed #43024
allowed to fail
clazy

failed #43025
qmllint

 
  Build
passed #43028
archlinux

00:01:06

passed #43027
debian-sid

00:00:54

passed #43026
neon-bionic

00:01:06

 
  Deploy
passed #43031
android

00:15:07

passed #43029
linux-appimage

00:07:18

passed #43032
mac-osxcross

00:01:32

failed #43030
allowed to fail
windows-mxe

00:01:33

 
Name Stage Failure
failed
windows-mxe Deploy
/builds/melvo/kaidan/src/MessageModel.cpp:160:10: warning: enumeration value 'Error' not handled in switch [-Wswitch]
make[2]: *** [CMakeFiles/kaidan.dir/build.make:2784: CMakeFiles/kaidan.dir/src/MessageModel.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/kaidan.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
$ mv build/bin/kaidan.exe kaidan.exe
mv: cannot stat 'build/bin/kaidan.exe': No such file or directory
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1