D23576: Add property lastScanTime and lastRequestTime to WirelessDevice

Jan Grulich noreply at phabricator.kde.org
Fri Aug 30 13:12:29 BST 2019


jgrulich added inline comments.

INLINE COMMENTS

> wirelessdevice.cpp:250
> +    } else if (property == QLatin1String("LastScan")) {
> +        lastScanTime = QDateTime::currentDateTime();
> +        Q_EMIT q->lastScanTimeChanged(lastScanTime);

Don't use QDateTime::currentDateTime() as it might be different from the actual value returned by NetworkManager.

REPOSITORY
  R282 NetworkManagerQt

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

To: meven, jgrulich
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190830/c8b61615/attachment.html>


More information about the Kde-frameworks-devel mailing list