mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
Update image dimensions to 800x600
This commit is contained in:
parent
af16649089
commit
a9859d11c0
1 changed files with 1 additions and 1 deletions
|
@ -1725,7 +1725,7 @@ void ChatWidget::fileHashingFinished(QList<HashedFile> hashedFiles)
|
||||||
{
|
{
|
||||||
QString encodedImage;
|
QString encodedImage;
|
||||||
uint32_t maxMessageSize = this->maxMessageSize();
|
uint32_t maxMessageSize = this->maxMessageSize();
|
||||||
if (RsHtml::makeEmbeddedImage(hashedFile.filepath, encodedImage, 640*480, maxMessageSize - 200 - link.toHtmlSize().length()))
|
if (RsHtml::makeEmbeddedImage(hashedFile.filepath, encodedImage, 800*600, maxMessageSize - 200 - link.toHtmlSize().length()))
|
||||||
{ QTextDocumentFragment fragment = QTextDocumentFragment::fromHtml(encodedImage);
|
{ QTextDocumentFragment fragment = QTextDocumentFragment::fromHtml(encodedImage);
|
||||||
ui->chatTextEdit->textCursor().insertFragment(fragment);
|
ui->chatTextEdit->textCursor().insertFragment(fragment);
|
||||||
preview=true;
|
preview=true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue