removed abuse of QMessageBox static functions