mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-18 05:44:14 -05: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…
x
Reference in New Issue
Block a user