Solve some unreferenced parameter warnings

(C4100: unreferenced formal parameter)
This commit is contained in:
Vitor Kiguchi 2020-07-24 01:35:52 -03:00
parent d87fee05a9
commit ecb2541a93
10 changed files with 22 additions and 3 deletions

View file

@ -30,15 +30,18 @@ GraphicsVertexShaderModel::GraphicsVertexShaderModel(GraphicsVertexShaderWidget*
: QAbstractTableModel(parent), par(parent) {}
int GraphicsVertexShaderModel::columnCount(const QModelIndex& parent) const {
Q_UNUSED(parent);
return 3;
}
int GraphicsVertexShaderModel::rowCount(const QModelIndex& parent) const {
Q_UNUSED(parent);
return static_cast<int>(par->info.code.size());
}
QVariant GraphicsVertexShaderModel::headerData(int section, Qt::Orientation orientation,
int role) const {
Q_UNUSED(orientation);
switch (role) {
case Qt::DisplayRole: {
if (section == 0) {