| 109 | } |
| 110 | |
| 111 | void HelpAboutDialog::applyTheme(const Theme &theme) |
| 112 | { |
| 113 | if (changelogButton != nullptr) { |
| 114 | changelogButton->setStyleSheet(QString("QPushButton { border:none; background:transparent; color:%1;" |
| 115 | " font-family:Arial; padding:2px 8px; }" |
| 116 | "QPushButton:hover { text-decoration:underline; }") |
| 117 | .arg(theme.helpAboutDialog.linkColor.name())); |
| 118 | } |
| 119 | |
| 120 | applyHtmlTheme(); |
| 121 | } |
| 122 | |
| 123 | void HelpAboutDialog::applyHtmlTheme() |
| 124 | { |