Fixed: Return 0 if cancel installation

This commit is contained in:
kervala 2016-11-26 13:15:51 +01:00
parent 9bd7765c25
commit 68755139e2

View file

@ -232,8 +232,8 @@ int main(int argc, char *argv[])
dialog.setSelectedComponents(components); dialog.setSelectedComponents(components);
// TODO: check real return codes from Uninstallers // exit if press Cancel button or close dialog
if (!dialog.exec()) return 1; if (!dialog.exec()) return 0;
components = dialog.getSelectedCompenents(); components = dialog.getSelectedCompenents();
} }