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:
parent
5024f1bf77
commit
ceb66d0790
@ -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")));
|
||||
|
Loading…
Reference in New Issue
Block a user