[Interest] QFile/QDir: force move mode only?

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon May 13 13:38:26 CEST 2019


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.dangelo at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190513/2cc18c8e/attachment.bin>


More information about the Interest mailing list