Mod: fix several compiler warnings:
* fix -Wsometimes-uninitialized * fix -Wunused-parameter * fix -Wunused-variable * fix -Winconsistent-missing-override * fix -Wsign-compare * fix -Wreorder-ctor * fix -Wtautological-overlap-compare
This commit is contained in:
@@ -140,8 +140,6 @@ void Array2D::onDataChanged(const QModelIndex& topLeft,
|
||||
|
||||
void Array2D::onContextMenu(const QPoint& pos)
|
||||
{
|
||||
QModelIndex index = ui->tableView->indexAt(pos);
|
||||
|
||||
QMenu contextMenu(tr("Context menu"), this);
|
||||
|
||||
contextMenu.addAction(&_deleteAction);
|
||||
|
||||
Reference in New Issue
Block a user