'Clear main window\'s status bar and restore mouse cursor.'

def ending_long_process(self, message=''):

    QApplication.restoreOverrideCursor()
    self.show_message(message, timeout=2000)
    QApplication.processEvents()
