diff -r 3c21da93db9f -r ab7b94c03bc9 QTfrontend/ui/page/pageeditteam.cpp --- a/QTfrontend/ui/page/pageeditteam.cpp Tue Oct 23 05:21:44 2012 +0200 +++ b/QTfrontend/ui/page/pageeditteam.cpp Tue Oct 23 06:50:19 2012 +0200 @@ -383,9 +383,14 @@ void PageEditTeam::deleteTeam(const QString & name) { - QMessageBox reallyDelete(QMessageBox::Question, QMessageBox::tr("Teams"), QMessageBox::tr("Really delete this team?"), QMessageBox::Ok | QMessageBox::Cancel, this); + QMessageBox reallyDeleteMsg(this); + reallyDeleteMsg.setIcon(QMessageBox::Question); + reallyDeleteMsg.setWindowTitle(QMessageBox::tr("Teams - Are you sure?")); + reallyDeleteMsg.setText(QMessageBox::tr("Do you really want to delete the team '%1'?").arg(name)); + reallyDeleteMsg.setWindowModality(Qt::WindowModal); + reallyDeleteMsg.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel); - if (reallyDelete.exec() == QMessageBox::Ok) + if (reallyDeleteMsg.exec() == QMessageBox::Ok) HWTeam(name).deleteFile(); }