summaryrefslogtreecommitdiffstats
path: root/application/JavaCommon.cpp
diff options
context:
space:
mode:
authorLoetkolben <sirloetkolben@gmail.com>2016-03-22 23:28:47 +0100
committerLoetkolben <sirloetkolben@gmail.com>2016-03-23 12:42:38 +0100
commit0c06ab364c58a09655c62272605eec9ce611f929 (patch)
treecbc0ee2b57e6e114052eaf5fc4fa5ce907f53674 /application/JavaCommon.cpp
parent07608ebc4cdcbbb9e886b69af9aba6043af36612 (diff)
downloadMultiMC-0c06ab364c58a09655c62272605eec9ce611f929.tar
MultiMC-0c06ab364c58a09655c62272605eec9ce611f929.tar.gz
MultiMC-0c06ab364c58a09655c62272605eec9ce611f929.tar.lz
MultiMC-0c06ab364c58a09655c62272605eec9ce611f929.tar.xz
MultiMC-0c06ab364c58a09655c62272605eec9ce611f929.zip
NOISSUE Remove tr(...) where unnecessary.
Diffstat (limited to 'application/JavaCommon.cpp')
-rw-r--r--application/JavaCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/JavaCommon.cpp b/application/JavaCommon.cpp
index 403883e7..a8561f6d 100644
--- a/application/JavaCommon.cpp
+++ b/application/JavaCommon.cpp
@@ -43,7 +43,7 @@ void JavaCommon::TestCheck::javaArgsWereBad(JavaCheckResult result)
QString text;
htmlError.replace('\n', "<br />");
text += tr("The specified java binary didn't work with the arguments you provided:<br />");
- text += tr("<font color=\"red\">%1</font>").arg(htmlError);
+ text += QString("<font color=\"red\">%1</font>").arg(htmlError);
CustomMessageBox::selectable(m_parent, tr("Java test failure"), text, QMessageBox::Warning)
->show();
}