QTfrontend/ui/page/pageeditteam.cpp
changeset 14836 b9437746bffb
parent 13227 26c739440bef
child 14839 e239378a9400
--- a/QTfrontend/ui/page/pageeditteam.cpp	Thu Apr 25 21:32:22 2019 +0300
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Thu Apr 25 21:24:27 2019 +0200
@@ -490,6 +490,7 @@
     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.setTextFormat(Qt::PlainText);
     reallyDeleteMsg.setWindowModality(Qt::WindowModal);
     reallyDeleteMsg.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);
 
@@ -657,6 +658,7 @@
         teamNameFixedMsg.setIcon(QMessageBox::Warning);
         teamNameFixedMsg.setWindowTitle(QMessageBox::tr("Teams - Name already taken"));
         teamNameFixedMsg.setText(QMessageBox::tr("The team name '%1' is already taken, so your team has been renamed to '%2'.").arg(origName).arg(team.name()));
+        teamNameFixedMsg.setTextFormat(Qt::PlainText);
         teamNameFixedMsg.setWindowModality(Qt::WindowModal);
         teamNameFixedMsg.setStandardButtons(QMessageBox::Ok);
         teamNameFixedMsg.exec();