In remoteLister.cpp:54 a char (address separator) is added to a pointer.
This patch allows to fix clang warning "adding 'char' to a string pointer does not append to the string"
In remoteLister.cpp:54 a char (address separator) is added to a pointer.
This patch allows to fix clang warning "adding 'char' to a string pointer does not append to the string"
Start Filelight and try to analyze some folder, seems to work as before.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
folder(new Folder(QString(name + '/').toUtf8().constData()))
does not compile:
no known conversion for argument 2 from ‘QChar*’ to ‘char*&’
This compiles even without QString(). Thanks.
P. S. I'm not an expert, but isn't it again adding a char to a pointer?