mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-01 12:34:12 +01:00
DocsDialog: fix link color on dark colorschemes
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user