QTfrontend/ui/widget/mapContainer.cpp
branchphysfslayer
changeset 8049 133e22b5c410
parent 7794 ab7b94c03bc9
child 8070 66bc20d089fc
--- a/QTfrontend/ui/widget/mapContainer.cpp	Sat Nov 17 22:07:17 2012 +0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Sat Nov 17 22:45:30 2012 +0400
@@ -606,10 +606,7 @@
             break;
         default:
             QPixmap mapImage;
-            bool success = mapImage.load(
-                DataManager::instance().findFileForRead(
-                    "Maps/" + m_mapInfo.name + "/preview.png")
-            );
+            bool success = mapImage.load("physfs://Maps/" + m_mapInfo.name + "/preview.png");
 
             if(!success)
             {