Merge pull request #472 from PhenomRetroShare/Fix_ChangeImageBlockedIconOnRSTextBrowser

Change Image Blocked Icon On RSTextBrowser
This commit is contained in:
Cyril Soler 2016-08-16 10:20:30 +02:00 committed by GitHub
commit 26cbb27e90

View File

@ -102,12 +102,7 @@ QVariant RSTextBrowser::loadResource(int type, const QUrl &name)
if (mImageBlockWidget)
mImageBlockWidget->show();
//https://git.merproject.org/lbt/qtbase/commit/6d13e9f29597e0d557857e3f80173faba5368424
#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
return QPixmap(":/images/imageblocked_24.png");
}
void RSTextBrowser::setImageBlockWidget(RSImageBlockWidget *widget)