mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-28 21:26:07 +00:00
DolphinQt: Fix unused widgets in InfoWidget from being visible.
This commit is contained in:
parent
c89139d75d
commit
d106169a83
6 changed files with 22 additions and 26 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue