D14302: Don't block forever in ensureKdeinitRunning

Jaime Torres Amate noreply at phabricator.kde.org
Mon Jul 23 19:27:29 BST 2018


jtamate added a comment.


  I guess this is a Qt bug.
  
    qint64 QDeadlineTimer::remainingTime() const Q_DECL_NOTHROW
    {
        qint64 ns = remainingTimeNSecs();
        return ns <= 0 ? ns : (ns + 999999) / (1000 * 1000);
    }
  
  Shouldn't it be:
  
    return ns <= 0 ? **0** : (ns + 999999) / (1000 * 1000);

REPOSITORY
  R271 KDBusAddons

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

To: jtamate, dfaure, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180723/9bbbb49f/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list