fix: fix qchar conversion and codeql
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -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 {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user