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;
for (QVariantList::iterator j = onloads.begin(); j != onloads.end(); j++)
{
QString path = (*j).toString();
QString path = ":/"+(*j).toString();
QImageReader reader;
reader.setFileName(path);
QImage image = reader.read();