mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
Added new color for retroshare links
This commit is contained in:
parent
5361bed037
commit
cc3cd63477
4 changed files with 19 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue