qt: remove obsolete version check in ControlbarProfileModel

This commit is contained in:
Fatih Uzunoglu 2024-04-05 15:18:05 +03:00 committed by Steve Lhomme
parent b2ebdeca17
commit ded679b49d
1 changed files with 0 additions and 4 deletions

View File

@ -674,12 +674,8 @@ bool ControlbarProfileModel::reload()
if (modelValue.isEmpty())
continue;
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
const auto val = modelValue.splitRef(SETTINGS_PROFILE_SEPARATOR);
#else
QStringView modelValueStringView(modelValue);
const auto val = modelValueStringView.split(SETTINGS_PROFILE_SEPARATOR);
#endif
if (val.isEmpty())
continue;