Extract part of "item" - wrong syntax
-
- What "type" is "text" ? stream ?
- What is error "translation to English?
- What is wrong with my syntax to get "left" of the "text"?
My code
ui->textEdit_16->append(current->text());
// extract address
// remoteAddress(current->text().left(10));I need only the "address " part , not the name .

Error
/home/qt/Qt/Examples/Qt-5.15.2/bluetooth/btscanner/device.cpp:2487: error: type 'QString' does not provide a call operator
-
- What "type" is "text" ? stream ?
- What is error "translation to English?
- What is wrong with my syntax to get "left" of the "text"?
My code
ui->textEdit_16->append(current->text());
// extract address
// remoteAddress(current->text().left(10));I need only the "address " part , not the name .

Error
/home/qt/Qt/Examples/Qt-5.15.2/bluetooth/btscanner/device.cpp:2487: error: type 'QString' does not provide a call operator
@AnneRanch wth is the return type of
current()