Commit f42faf1a authored by Patrick José Pereira's avatar Patrick José Pereira

QGroundControlQmlGlobal: Do not use deprecated QString enum with Qt 5.15.0

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 31e86153
......@@ -168,7 +168,12 @@ bool ParameterEditorController::_shouldShow(Fact* fact)
void ParameterEditorController::_updateParameters(void)
{
QObjectList newParameterList;
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
QStringList searchItems = _searchText.split(' ', QString::SkipEmptyParts);
#else
QStringList searchItems = _searchText.split(' ', Qt::SkipEmptyParts);
#endif
if (searchItems.isEmpty() && !_showModifiedOnly) {
int compId = _parameterMgr->getComponentId(_currentCategory);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment