mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Set correct qrc path
This commit is contained in:
parent
75180f2a01
commit
1fdd190fb0
@ -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…
Reference in New Issue
Block a user