mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 09:29:37 +00:00
DocsDialog: fix link color on dark colorschemes
This commit is contained in:
parent
dee21193ac
commit
8c88f69f25
1 changed files with 5 additions and 0 deletions
|
@ -166,6 +166,11 @@ void DocsDialog::filterIndex(const QString &text) {
|
|||
}
|
||||
|
||||
void DocsDialog::showDoc(const QString &doc, const QString &highlight) {
|
||||
ColorScheme::updateFromWidget(this);
|
||||
QPalette p = qApp->palette();
|
||||
p.setBrush(QPalette::Link, ColorScheme::darkScheme ? ColorScheme::BLUE.asColor() : QColor("blue"));
|
||||
qApp->setPalette(p);
|
||||
|
||||
QString resource = doc;
|
||||
|
||||
if (!resource.startsWith("qrc")) {
|
||||
|
|
Loading…
Reference in a new issue