Commit d04024af authored by Jasem Mutlaq's avatar Jasem Mutlaq

Use QUrl so that images are properly loaded in all platforms

parent 77a3f8e8
...@@ -489,7 +489,7 @@ void WIView::loadDetailsView(SkyObjItem * soitem, int index) ...@@ -489,7 +489,7 @@ void WIView::loadDetailsView(SkyObjItem * soitem, int index)
sonameObj->setProperty("text", soitem->getDescName()); sonameObj->setProperty("text", soitem->getDescName());
posTextObj->setProperty("text", soitem->getPosition()); posTextObj->setProperty("text", soitem->getPosition());
detailImage->setProperty("refreshableSource", soitem->getImageURL(false)); detailImage->setProperty("refreshableSource", QUrl::fromLocalFile(soitem->getImageURL(false)));
loadObjectDescription(soitem); loadObjectDescription(soitem);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment