D27597: KRunner: Refactor deprecated toSet() method

Ahmad Samir noreply at phabricator.kde.org
Sun Feb 23 13:18:59 GMT 2020


ahmadsamir added a comment.


  Hi there. Since KF5 min. supported Qt version is 5.12, you have to make the code conditional so that it still build on Qt < 5.14.
  
  (Qt 5.14 is where range-iterators-based constructors were introduced to Qt containers including QList https://doc.qt.io/qt-5/qlist.html#QList-4).
  
  For an example see: https://phabricator.kde.org/R91:202af7d3f3275c998f06fbb8f414f23215e867ef

REPOSITORY
  R308 KRunner

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

To: alex, mlaurent, apol
Cc: ahmadsamir, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200223/5231636d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list