Skip to content

Commit

Permalink
Merge pull request #38 from hjaltisan/EO11402
Browse files Browse the repository at this point in the history
Minor bugfixes
  • Loading branch information
hjaltisan authored Dec 11, 2020
2 parents 18d5162 + 0de13fc commit 0207ba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/libs/installer/packagemanagergui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,7 @@ void CustomIntroductionPage::showInstallerInformation()
m_lineEdit->setVisible(true);
m_spaceLabel->setVisible(true);
m_browseButton->setVisible(true);
if (packageManagerCore()->value(QLatin1String("InstallRedists"), QLatin1String("false")) == QLatin1String("true"))
if (packageManagerCore()->isInstaller() && packageManagerCore()->value(QLatin1String("InstallRedists"), QLatin1String("false")) == QLatin1String("true"))
{
m_redistLabel->setVisible(true);
}
Expand Down Expand Up @@ -2412,7 +2412,7 @@ void CustomIntroductionPage::entering()
}

QString installRedistText = core->value(QLatin1String("InstallRedists"), QLatin1String("false"));
m_redistLabel->setVisible(installRedistText == QLatin1String("true"));
m_redistLabel->setVisible(core->isInstaller() && installRedistText == QLatin1String("true"));
}

/*!
Expand Down Expand Up @@ -2465,7 +2465,7 @@ void CustomIntroductionPage::showWidgets(bool show)
m_msgLabel->setVisible(show);
if (show)
{
if (packageManagerCore()->value(QLatin1String("InstallRedists"), QLatin1String("false")) == QLatin1String("true"))
if (packageManagerCore()->isInstaller() && packageManagerCore()->value(QLatin1String("InstallRedists"), QLatin1String("false")) == QLatin1String("true"))
{
m_redistLabel->setVisible(true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/translations/ifw_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,7 @@ Souhaitez-vous continuer ?</translation>
<name>QInstaller::FinishedPage</name>
<message>
<source>Quit</source>
<translation>Выйти</translation>
<translation>Quitter</translation>
</message>
</context>
<!--
Expand Down

0 comments on commit 0207ba1

Please sign in to comment.