Commit 8e52e330 authored by Xuetian Weng's avatar Xuetian Weng Committed by Xuetian Weng
Browse files

Make compiler happy with implicit fallthrough warning

parent 62cada9f
Pipeline #204992 passed with stage
in 11 minutes and 52 seconds
......@@ -102,6 +102,7 @@ QVariant LocaleListModel::data(const QModelIndex &index, int role) const
case Measurement:
return Utility::measurementExample(data.locale);
}
return {};
}
case FilterRole: {
return data.englishCountryName.toLower() + data.nativeCountryName.toLower() + data.nativeName.toLower() + data.englishName.toLower()
......
......@@ -140,6 +140,7 @@ QVariant OptionsModel::data(const QModelIndex &index, int role) const
return example;
}
}
return {};
}
case Page:
return m_staticNames.at(row).second;
......
Supports Markdown
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