#330: AccidentallyCallBlocker now for working for FKey presses

This commit is contained in:
Kai Philipp
2017-05-25 15:01:53 +02:00
parent 8fb973344b
commit 1c5e8792aa
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -73,3 +73,10 @@ bool MyActionButton::event(QEvent *event)
} }
return QWidget::event(event); return QWidget::event(event);
} }
void MyActionButton::click()
{
if (!eatMyEvents) {
QPushButton::click();
}
}
+3
View File
@@ -60,6 +60,9 @@ public:
} }
bool event(QEvent *e); bool event(QEvent *e);
public slots:
void click();
private: private:
QString fKeyText; QString fKeyText;