mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
DolphinQt: Fix unused widgets in InfoWidget from being visible.
This commit is contained in:
@ -6,10 +6,6 @@
|
||||
|
||||
#include "DolphinQt/QtUtils/DoubleClickEventFilter.h"
|
||||
|
||||
DoubleClickEventFilter::DoubleClickEventFilter(QObject* parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
bool DoubleClickEventFilter::eventFilter(QObject* object, QEvent* event)
|
||||
{
|
||||
if (event->type() == QEvent::MouseButtonDblClick)
|
||||
|
@ -10,7 +10,7 @@ class DoubleClickEventFilter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DoubleClickEventFilter(QObject* parent);
|
||||
using QObject::QObject;
|
||||
|
||||
signals:
|
||||
void doubleClicked();
|
||||
|
@ -7,10 +7,6 @@
|
||||
|
||||
#include "DolphinQt/QtUtils/WindowActivationEventFilter.h"
|
||||
|
||||
WindowActivationEventFilter::WindowActivationEventFilter(QObject* parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
bool WindowActivationEventFilter::eventFilter(QObject* object, QEvent* event)
|
||||
{
|
||||
if (event->type() == QEvent::WindowDeactivate)
|
||||
|
@ -10,7 +10,7 @@ class WindowActivationEventFilter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit WindowActivationEventFilter(QObject* parent);
|
||||
using QObject::QObject;
|
||||
|
||||
signals:
|
||||
void windowActivated();
|
||||
|
Reference in New Issue
Block a user