#330: AccidentallyCallBlocker now for working for FKey presses
This commit is contained in:
@@ -73,3 +73,10 @@ bool MyActionButton::event(QEvent *event)
|
||||
}
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
||||
void MyActionButton::click()
|
||||
{
|
||||
if (!eatMyEvents) {
|
||||
QPushButton::click();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,6 +60,9 @@ public:
|
||||
}
|
||||
bool event(QEvent *e);
|
||||
|
||||
public slots:
|
||||
void click();
|
||||
|
||||
private:
|
||||
|
||||
QString fKeyText;
|
||||
|
||||
Reference in New Issue
Block a user