fix: fix qchar conversion and codeql

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-05-05 11:13:36 -07:00
parent fd7338d3f3
commit 2fe3dc5960
5 changed files with 15 additions and 19 deletions

View File

@ -158,12 +158,10 @@ QVariant ResourcePackFolderModel::headerData(int section, Qt::Orientation orient
return {};
}
case Qt::SizeHintRole:
switch (section) {
case ImageColumn:
return QSize(64,0);
default:
return {};
if (section == ImageColumn) {
return QSize(64,0);
}
return {};
default:
return {};
}