1) Delete encrypted contents after decryption simply deleted the entire folder.
2) Sometimes the decrypt checkbox was checked but didn't result in automatic decryption after the files were downloaded
I've fixed both of these issues by changing how the checkboxes change variables and then changing the removeFiles method to work on MacOS aswell. Turns out entry.is_regular_file() recognises symbolic links as non regular files while folders are recognised as regular files on MacOS, resulting in everything being deleted.
Please keep in mind that this is my first time writing C++ code 😄
This pull fixes two bugs I've had on my Mac;
1) Delete encrypted contents after decryption simply deleted the entire folder.
2) Sometimes the decrypt checkbox was checked but didn't result in automatic decryption after the files were downloaded
I've fixed both of these issues by changing how the checkboxes change variables and then changing the removeFiles method to work on MacOS aswell. Turns out entry.is_regular_file() recognises symbolic links as non regular files while folders are recognised as regular files on MacOS, resulting in everything being deleted.
Please keep in mind that this is my first time writing C++ code 😄