QTfrontend/util/FileEngine.cpp
changeset 13869 bd796e4d8920
parent 12724 d47ab9245259
child 14318 d688455cad8f
equal deleted inserted replaced
13866:b15ad95320fe 13869:bd796e4d8920
   311 }
   311 }
   312 
   312 
   313 
   313 
   314 FileEngineHandler::FileEngineHandler(char *argv0)
   314 FileEngineHandler::FileEngineHandler(char *argv0)
   315 {
   315 {
   316     PHYSFS_init(argv0);
   316     if (!PHYSFS_init(argv0))
   317 
   317     {
       
   318         qDebug("PHYSFS initialization failed");
       
   319     }
   318     qDebug("%s", QString("[PHYSFS] Init: %1").arg(errorStr()).toLocal8Bit().constData());
   320     qDebug("%s", QString("[PHYSFS] Init: %1").arg(errorStr()).toLocal8Bit().constData());
   319 }
   321 }
   320 
   322 
   321 FileEngineHandler::~FileEngineHandler()
   323 FileEngineHandler::~FileEngineHandler()
   322 {
   324 {