mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -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
|
// 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)
|
if (mImageBlockWidget)
|
||||||
mImageBlockWidget->show();
|
mImageBlockWidget->show();
|
||||||
|
Loading…
Reference in New Issue
Block a user