MainWindow: Remove unneeded code in fileExit()

There is no need to check for changes when exiting and showing a message
box in the main window as exactly the same code is also run in
DBBrowserDB.