diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-11-28 17:10:13 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-12-01 14:40:24 +0100 |
commit | adae71dcc66a86904da7feb4a166012bfa14f5df (patch) | |
tree | 6181e923f8cceb11b18dedf0857046e332bbd87d /src/libs/installer/binaryformatengine.cpp | |
parent | 12399b1b97e05626087cd2ebf673725d363a0a54 (diff) |
Clean up CreateDesktopEntry operation
We can't delay the deletion of the file if we then try to replace it
with the backup file/write to it. In addition, since we're on Unix,
the deletion of the file can only fail if we don't have sufficient rights,
and delaying the deletion until a 'reboot' doesn't fix this.
Also, don't treat any errors in the undo step as errors that should show
up in the UI: There are lots of reasons people might clean up their
settings.
Change-Id: I2e85f94e4fa427e0911ffab3a0111e4fb058ff1a
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/binaryformatengine.cpp')
0 files changed, 0 insertions, 0 deletions