14 , m_updatePreviewCompressor(
22 m_explanationLabel->setText(
23 QStringLiteral(
"%1 <a href=\"#\">%2</a>")
24 .arg(i18n(
"Become a supporter to change the splash screen.").toHtmlEscaped(), i18n(
"Support Krita")));
26 connect(m_explanationLabel, &QLabel::linkActivated,
this, &KisSplashSourceDialog::slotShowDonationDialog);
28 connect(androidDonations,
33 m_explanationLabel->setText(
34 i18n(
"Changing the splash screen is only available for supporters through the Play Store."));
37 QString explanationText = i18n(
"Purchase Krita to change the splash screen and receive automatic updates.");
42 makePurchaseOption(QStringLiteral(
"epicgamesstore"), i18n(
"Get Krita on the Epic Games Store")),
43 makePurchaseOption(QStringLiteral(
"microsoftstore"), i18n(
"Get Krita on the Microsoft Store")),
46 makePurchaseOption(QStringLiteral(
"appleappstore"), i18n(
"Get Krita on the App Store")),
50 m_explanationLabel->setOpenExternalLinks(
true);
51 m_explanationLabel->setText(
52 QStringLiteral(
"%1<ul>%2</ul>").arg(explanationText.toHtmlEscaped(), purchaseOptions.join(QString())));
55 connect(m_sourceCombo,
56 QOverload<int>::of(&QComboBox::currentIndexChanged),
60 connect(m_buttons, &QDialogButtonBox::accepted,
this, &KisSplashSourceDialog::accept);
61 connect(m_buttons, &QDialogButtonBox::rejected,
this, &KisSplashSourceDialog::reject);