mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-19 10:39:53 -05:00
fixed scaling of items.
This commit is contained in:
parent
b453f80cbd
commit
75cf9d6c86
2 changed files with 98 additions and 69 deletions
|
|
@ -260,8 +260,10 @@ void BoardPostDisplayWidget::fill()
|
|||
// FIX THIS UP LATER.
|
||||
ui->notes->setText(RsHtml().formatText(NULL, QString::fromUtf8(mPost.mNotes.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS));
|
||||
|
||||
|
||||
if( ui->notes->document()==nullptr || ui->notes->document()->toPlainText().trimmed().isEmpty())
|
||||
QTextDocument doc;
|
||||
doc.setHtml(ui->notes->text());
|
||||
|
||||
if(doc.toPlainText().trimmed().isEmpty())
|
||||
ui->notes->hide();
|
||||
|
||||
#ifdef TO_REMOVE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue