mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-01 21:56:06 -04:00
only print the 50 first characters of undisplayed resources
This commit is contained in:
parent
c9d7cb7e7e
commit
f1b022a6c1
1 changed files with 5 additions and 1 deletions
|
@ -161,7 +161,11 @@ QVariant RSTextBrowser::loadResource(int type, const QUrl &name)
|
|||
|
||||
// case 4: otherwise, do not display
|
||||
|
||||
std::cerr << "TEXTBROWSER: refusing load ressource request: type=" << type << " scheme=" << name.scheme().toStdString() << ", url=" << name.toString().toStdString() << std::endl;
|
||||
std::cerr << "TEXTBROWSER: refusing load ressource request: type=" << type << " scheme="
|
||||
<< name.scheme().toStdString() << ", url="
|
||||
<< name.toString().left(50).toStdString()
|
||||
<< ((name.toString().length()>50)?"...":"")
|
||||
<< std::endl;
|
||||
|
||||
if (mImageBlockWidget)
|
||||
mImageBlockWidget->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue