D21367: kioexec: change the scary debug messages for delayed deletion

Elvis Angelaccio noreply at phabricator.kde.org
Thu May 23 20:52:07 BST 2019


elvisangelaccio added inline comments.

INLINE COMMENTS

> main.cpp:261-263
>              // it will have time to start up and read the file before it gets deleted. #130709.
> -            qDebug() << "sleeping...";
> +            qDebug() << "sleeping for 3 minutes before deleting file...";
>              QThread::currentThread()->sleep(180); // 3 mn

While at it, maybe it could be worth to put 180 in some variable `foo` and then use `foo/60` instead of hardcoding the number of minutes in the debug message.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D21367

To: Lekensteyn, elvisangelaccio, dfaure
Cc: ngraham, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190523/b1684456/attachment.html>


More information about the Kde-frameworks-devel mailing list