Changed: Delete menu directory when uninstalling Installer
This commit is contained in:
parent
a94c42b0dc
commit
873254cd09
1 changed files with 13 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue