mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-14 02:09:33 -04:00
Fix Image Block on RSTextBrowser.
This commit is contained in:
parent
dea776a61a
commit
88407e6d30
1 changed files with 5 additions and 0 deletions
|
@ -92,7 +92,12 @@ 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
|
||||
}
|
||||
|
||||
void RSTextBrowser::setImageBlockWidget(RSImageBlockWidget *widget)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue