When calling QDir::remove the compiler cannot create a QString from a char literal. Using a string literal allows automatic conversion.
Hi, thanks for your patch. Sorry for not noticing it earlier, we don't get a notification if you don't set Gwenview as either the reviewer or project tag.
Since you were working on Gwenview, let us know if you have any questions or need ideas for what to work on. There are still plenty of bugs left ;)