[Spreadsheet] Clean up compilation warnings

This commit is contained in:
Chris Hennes
2021-10-12 11:53:48 -05:00
parent cca8ed5a7b
commit 82e3bc5844
4 changed files with 4 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ QWidget *SpreadsheetDelegate::createEditor(QWidget *parent,
const QStyleOptionViewItem &,
const QModelIndex &index) const
{
Q_UNUSED(index)
SpreadsheetGui::LineEdit *editor = new SpreadsheetGui::LineEdit(parent);
editor->setDocumentObject(sheet);
connect(editor, &SpreadsheetGui::LineEdit::finishedWithKey, this, &SpreadsheetDelegate::on_editorFinishedWithKey);