Don't resend "team quit" message when client closes engine, then quits room:
- Fixes server crashes when client had more than one team in game
- Fixes game freeze when half of players quit game
#ifndef MOUSEOVERFILTER_H
#define MOUSEOVERFILTER_H
#include <QObject>
#include "ui_hwform.h"
#include "ui/page/AbstractPage.h"
class MouseOverFilter : public QObject
{
Q_OBJECT
public:
explicit MouseOverFilter(QObject *parent = 0);
void setUi(Ui_HWForm *uiForm);
protected:
bool eventFilter( QObject *dist, QEvent *event );
signals:
public slots:
private:
Ui_HWForm *ui;
AbstractPage* abstractpage;
};
#endif // MOUSEOVERFILTER_H