fix compile warning
This commit is contained in:
parent
de3d5be8f0
commit
0b8a93eed5
@ -118,7 +118,7 @@ void LineEditor::clearHistory()
|
|||||||
void LineEditor::autocomplete()
|
void LineEditor::autocomplete()
|
||||||
{
|
{
|
||||||
QString line = text();
|
QString line = text();
|
||||||
const std::list<std::string> &suggestions = pyinterpreter_suggest(line.toStdString());
|
const std::list<std::string> suggestions = pyinterpreter_suggest(line.toStdString());
|
||||||
if (suggestions.size() == 1) {
|
if (suggestions.size() == 1) {
|
||||||
line = suggestions.back().c_str();
|
line = suggestions.back().c_str();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user