QTfrontend/ui/mouseoverfilter.h
author sheepluva
Wed, 05 Sep 2012 12:36:47 +0200
changeset 7673 e06b83cbde74
parent 6616 f77bb02b669f
child 10248 7b9b44a051f8
permissions -rw-r--r--
fix a segfault related to tcp servers deleting themselves without removing themselves from the internal server list first. (e.g. happens if game fails to start due to missing hwengine binary. a second start attempt will lead to a segfault, even if you correctly install the binary.)

#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