rbutil: Remove duplicated enum entry.

SystemInfo::PlatformName and Name actually retrieve the same value.
That's not usefule, so remove one of both.

Change-Id: I8ee429f099588e0e1e8129302542cd0f6f836203
This commit is contained in:
Dominik Riebeling 2020-11-26 22:41:51 +01:00
parent 185dfb42c2
commit 3ee6ce956f
5 changed files with 4 additions and 6 deletions

View file

@ -385,8 +385,8 @@ QString Utils::checkEnvironment(bool permission)
{
text += tr("<li>Target mismatch detected.<br/>"
"Installed target: %1<br/>Selected target: %2.</li>")
.arg(SystemInfo::platformValue(SystemInfo::PlatformName, installed).toString(),
SystemInfo::platformValue(SystemInfo::PlatformName).toString());
.arg(SystemInfo::platformValue(SystemInfo::Name, installed).toString(),
SystemInfo::platformValue(SystemInfo::Name).toString());
}
if(!text.isEmpty())