More style polishing

This commit is contained in:
Juergen Spitzmueller 2023-09-05 12:07:05 +02:00
parent 6bb72cc28c
commit 375bb32a3d

View File

@ -506,7 +506,7 @@ PreambleModule::PreambleModule(QWidget * parent)
bool PreambleModule::eventFilter(QObject * sender, QEvent * event)
{
if (sender == findLE) {
if (event->type()==QEvent::KeyPress) {
if (event->type() == QEvent::KeyPress) {
QKeyEvent * key = static_cast<QKeyEvent *>(event);
if ((key->key() == Qt::Key_Enter) || (key->key() == Qt::Key_Return)) {
findText();