Commit dd4caea
committed
COMP: Update ctkPythonConsole to remove use of deprecated QString API
Fixes the following warning:
```
/path/to/CTK/Libs/Scripting/Python/Widgets/ctkPythonConsole.cpp: In member function ‘virtual void ctkPythonConsoleCompleter::updateCompletionModel(const QString&)’:
/path/to/CTK/Libs/Scripting/Python/Widgets/ctkPythonConsole.cpp:459:56: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
459 | if (dotCount == 0 || completion.at(completion.count() - 1) == '.')
| ~~~~~~~~~~~~~~~~^~
```1 parent 1b54d60 commit dd4caea
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
459 | 462 | | |
| 463 | + | |
460 | 464 | | |
461 | 465 | | |
462 | 466 | | |
| |||
0 commit comments