Changed: Delete menu directory when uninstalling Installer

--HG--
branch : develop
This commit is contained in:
kervala 2016-06-19 21:06:00 +02:00
parent b6722dba24
commit f27b388b11

View file

@ -1067,7 +1067,19 @@ void COperationDialog::deleteComponentsInstaller()
deleteAddRemoveEntry(); deleteAddRemoveEntry();
emit onProgressSuccess(m_components.servers.size()); // delete menu
QString path = config->getMenuDirectory();
if (!path.isEmpty())
{
QDir dir(path);
dir.removeRecursively();
}
// TODO:
emit onProgressSuccess(1);
emit done(); emit done();
} }