`QMessageBox::warning(...`
And this needs a better title than "Error"