Added new color for retroshare links

This commit is contained in:
defnax 2025-06-20 22:56:04 +02:00
parent 5361bed037
commit cc3cd63477
4 changed files with 19 additions and 5 deletions

View file

@ -44,6 +44,10 @@ MimeTextEdit::MimeTextEdit(QWidget *parent)
mForceCompleterShowNextKeyEvent = false;
highliter = new RsSyntaxHighlighter(this);
mOnlyPlainText = false;
QColor linkColor = QColor(3, 155, 198);
QString sheet = QString::fromLatin1("a { text-decoration: underline; color: %1 }").arg(linkColor.name());
document()->setDefaultStyleSheet(sheet);
}
bool MimeTextEdit::canInsertFromMimeData(const QMimeData* source) const