D15791: Get rid of adding 'char' to a string pointer

Yuri Chornoivan noreply at phabricator.kde.org
Mon Oct 8 06:44:26 BST 2018


yurchor added a comment.


  In D15791#338904 <https://phabricator.kde.org/D15791#338904>, @mlaurent wrote:
  
  > Better to use new Folder(QString(name + '/').toUtf8().conData() 
  > Regards
  
  
  
  
    folder(new Folder(QString(name + '/').toUtf8().constData()))
  
  does not compile:
  
  no known conversion for argument 2 from ‘QChar*’ to ‘char*&’

REPOSITORY
  R352 Filelight

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

To: yurchor, sandsmark, mlaurent
Cc: kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20181008/01522f91/attachment.html>


More information about the Kde-utils-devel mailing list