AFAIK this could also be a gui->showNormalIfMinimized(), which would remove a signal/connect in here?