mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
Change Image Blocked Icon On RSTextBrowser
This commit is contained in:
parent
b8158a47dc
commit
dd2e4c32d5
1 changed files with 1 additions and 6 deletions
|
@ -102,12 +102,7 @@ QVariant RSTextBrowser::loadResource(int type, const QUrl &name)
|
||||||
if (mImageBlockWidget)
|
if (mImageBlockWidget)
|
||||||
mImageBlockWidget->show();
|
mImageBlockWidget->show();
|
||||||
|
|
||||||
//https://git.merproject.org/lbt/qtbase/commit/6d13e9f29597e0d557857e3f80173faba5368424
|
return QPixmap(":/images/imageblocked_24.png");
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK (5, 0, 0)
|
|
||||||
return QPixmap(":/qt-project.org/styles/commonstyle/images/file-16.png");
|
|
||||||
#else
|
|
||||||
return QPixmap(":/trolltech/styles/commonstyle/images/file-16.png");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RSTextBrowser::setImageBlockWidget(RSImageBlockWidget *widget)
|
void RSTextBrowser::setImageBlockWidget(RSImageBlockWidget *widget)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue