[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

@@ -35,13 +35,13 @@ using namespace SpreadsheetGui;
LineEdit::LineEdit(QWidget *parent)
: Gui::ExpressionLineEdit(parent, false, true)
, lastKeyPressed(0)
, lastModifiers(0)
{
setFocusPolicy(Qt::FocusPolicy::ClickFocus);
}
bool LineEdit::eventFilter(QObject* object, QEvent* event)
{
Q_UNUSED(object);
if (event && event->type() == QEvent::KeyPress) {
QKeyEvent* keyEvent = static_cast<QKeyEvent*>(event);
if (keyEvent->key() == Qt::Key_Tab) {