1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Also install the separate Sounds directory for Tribunal

This commit is contained in:
pvdk 2014-01-28 13:36:14 +01:00
parent 5024f1bf77
commit ceb66d0790

View File

@ -554,6 +554,17 @@ bool Wizard::UnshieldWorker::installComponent(Component component)
}
}
if (component == Wizard::Component_Tribunal)
{
QFileInfo sounds(temp.absoluteFilePath(QLatin1String("Sounds")));
if (sounds.exists()) {
emit textChanged(tr("Extracting: Sound directory"));
copyDirectory(sounds.absoluteFilePath(), getPath() + QDir::separator() + QLatin1String("Sound"));
}
}
if (component == Wizard::Component_Bloodmoon)
{
QFileInfo patch(temp.absoluteFilePath(QLatin1String("Tribunal Patch") + QDir::separator() + QLatin1String("Tribunal.esm")));