D9973: ktooltipwidget: Fix tooltip positioning

David Faure noreply at phabricator.kde.org
Sun Mar 4 22:02:09 GMT 2018


dfaure added inline comments.

INLINE COMMENTS

> elvisangelaccio wrote in ktooltippositiontest.cpp:71
> Weird, I usually use `qPrintable()` for this, but
> 
>   QTest::addRow(qPrintable(QStringLiteral("small/%1").arg(i.key())))
> 
> still gives me the compiler warning. Not sure what is going on here.

QTest::addRow() requires Qt 5.9.

You probably want newRow() instead, which doesn't have printf-style syntax, so it won't give you a printf-style warning.

REPOSITORY
  R236 KWidgetsAddons

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

To: michaelh, elvisangelaccio, #frameworks, #dolphin, ngraham
Cc: dfaure, cfeck, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180304/b1c4fe03/attachment.htm>


More information about the kfm-devel mailing list