diff -r 194d5a7a3fd4 -r 5d6c7f88db73 QTfrontend/ammoSchemeModel.cpp --- a/QTfrontend/ammoSchemeModel.cpp Sat Dec 18 21:19:26 2010 +0300 +++ b/QTfrontend/ammoSchemeModel.cpp Sat Dec 18 23:02:39 2010 +0300 @@ -577,6 +577,10 @@ QVariant AmmoSchemeModel::headerData(int section, Qt::Orientation orientation, int role) const { + Q_UNUSED(section); + Q_UNUSED(orientation); + Q_UNUSED(role); + return QVariant(); } @@ -598,6 +602,8 @@ Qt::ItemFlags AmmoSchemeModel::flags(const QModelIndex & index) const { + Q_UNUSED(index); + return Qt::ItemIsEnabled | Qt::ItemIsSelectable @@ -620,6 +626,8 @@ bool AmmoSchemeModel::insertRows(int row, int count, const QModelIndex & parent) { + Q_UNUSED(count); + beginInsertRows(parent, row, row); QList newScheme = defaultScheme; @@ -684,6 +692,10 @@ QVariant NetAmmoSchemeModel::headerData(int section, Qt::Orientation orientation, int role) const { + Q_UNUSED(section); + Q_UNUSED(orientation); + Q_UNUSED(role); + return QVariant(); }