https://bugs.kde.org/show_bug.cgi?id=396208

--- Comment #10 from Ralf Habacker <ralf.habac...@freenet.de> ---
1. The recent state is that neither KIO::copy_file nor KIO::copy work in the
related umbrello context, only KIO::NetAccess::download()
The failing code fragment from umbrello source is:

    QTemporaryFile tmpfile;
    tmpfile.open();
    QUrl dest(QUrl::fromLocalFile(tmpfile.fileName()));
    KIO::FileCopyJob *job = KIO::file_copy(url, dest, -1, KIO::Overwrite);
    KJobWidgets::setWindow(job, UMLApp::app());
    job->exec();
    QFile file(tmpfile.fileName());
    if (job->error() || !tmpfile.exists()) {


2. To reproduce the problem with a test case provided by kio, an attempt was
made to simulate this type of kio operation with kioclient5 (comment 6), but
could not be reproduced in that way.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to