targetFile << (**boxIt).m_liveboxId << ".";
targetFile << DPL::ToUTF8String((*sizeIt).m_size) << "." << DEFAULT_PREVIEW_NAME;
- DynamicBoxFileCopy(sourceFile.str(), targetFile.str(), preview);
+ DynamicBoxFileCopy(sourceFile.str(), targetFile.str());
// clear stream objects
sourceFile.str("");
targetFile << m_context.locations->getSharedDataDir() << "/";
targetFile << (**boxIt).m_liveboxId << "." << DEFAULT_ICON_NAME;
- DynamicBoxFileCopy(sourceFile.str(), targetFile.str(), icon);
+ DynamicBoxFileCopy(sourceFile.str(), targetFile.str());
// clear stream objects
sourceFile.str("");