mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
only print the 50 first characters of undisplayed resources
This commit is contained in:
parent
c9d7cb7e7e
commit
f1b022a6c1
@ -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…
Reference in New Issue
Block a user