mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
Set correct qrc path
This commit is contained in:
parent
75180f2a01
commit
1fdd190fb0
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public slots:
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
for (QVariantList::iterator j = onloads.begin(); j != onloads.end(); j++)
|
for (QVariantList::iterator j = onloads.begin(); j != onloads.end(); j++)
|
||||||
{
|
{
|
||||||
QString path = (*j).toString();
|
QString path = ":/"+(*j).toString();
|
||||||
QImageReader reader;
|
QImageReader reader;
|
||||||
reader.setFileName(path);
|
reader.setFileName(path);
|
||||||
QImage image = reader.read();
|
QImage image = reader.read();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue