D26926: Fix Windows build (Qt5.14 deprecation)

Johnny Jazeix noreply at phabricator.kde.org
Sun Jan 26 12:59:21 GMT 2020


jjazeix created this revision.
jjazeix added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
jjazeix requested review of this revision.

REVISION SUMMARY
  Fixes https://build.kde.org/view/Failing/job/Plasma/job/drkonqi/job/kf5-qt5%20WindowsMSVCQt5.14/
  
  The fix still uses a deprecated method but it's the easier to put in place for now.
  A clean fix would be:
  
    QTextStream ts(&a);
    ts << Qt::hex << "0x" << qSetFieldWidth(8) << Qt::right << i;
    qDebug() << a;
  
  But as we are inside argument function, it would need a bit of rework.

REPOSITORY
  R871 DrKonqi

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

AFFECTED FILES
  src/drkonqidialog.cpp

To: jjazeix, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200126/a8f5b2d5/attachment.html>


More information about the Plasma-devel mailing list