On 13/05/2019 11:31, Alexander Dyagilev wrote:
And yes, this is a really unwanted behavior and it was a short-sighted decision to make it behave so.QFile::rename should rename always or fail! It should never do completely different operation - copy!
It doesn't solve the problem at hand directly, but: have you considered using KIO?
My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest