Set correct qrc path

This commit is contained in:
Angela Mazzurco 2017-09-11 16:27:16 +02:00
parent 75180f2a01
commit 1fdd190fb0

View File

@ -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();