Fix a Qt warning (#1249)

This commit is contained in:
¥IGA
2024-10-05 20:34:53 +02:00
committed by GitHub
parent 2b8c2ce423
commit 1dabea7514
2 changed files with 2 additions and 2 deletions

View File

@@ -352,7 +352,7 @@ void SettingsDialog::updateNoteTextEdit(const QString& elementName) {
ui->descriptionText->setText(text.replace("\\n", "\n"));
}
bool SettingsDialog::eventFilter(QObject* obj, QEvent* event) {
bool SettingsDialog::override(QObject* obj, QEvent* event) {
if (event->type() == QEvent::Enter || event->type() == QEvent::Leave) {
if (qobject_cast<QWidget*>(obj)) {
bool hovered = (event->type() == QEvent::Enter);