summaryrefslogtreecommitdiff
path: root/src/eventfilter.cpp
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2020-02-01 23:33:52 +0100
committerGitHub <noreply@github.com>2020-02-01 23:33:52 +0100
commitc058721056c9f8af5157e26db585d86b288316a7 (patch)
treef8731b0d3418d87afa368be24f1044d532d47b08 /src/eventfilter.cpp
parent9c8412a051013f0ba8b70d4cb56d3d0428d827f0 (diff)
parent17cfba60a7e2d2cc8b9d5afc5b6769fa61d7273d (diff)
Merge pull request #988 from Al12rs/move_filter_widget
Moved filterWidget and eventFilter to ui base
Diffstat (limited to 'src/eventfilter.cpp')
-rw-r--r--src/eventfilter.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/eventfilter.cpp b/src/eventfilter.cpp
deleted file mode 100644
index 69327f79..00000000
--- a/src/eventfilter.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-Copyright (C) 2016 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-
-#include "eventfilter.h"
-
-EventFilter::EventFilter(QObject *parent,
- const EventFilter::HandlerFunc &handler)
- : QObject(parent)
- , m_Handler(handler)
-{
-}
-
-bool EventFilter::eventFilter(QObject *obj, QEvent *event)
-{
- return m_Handler(obj, event);
-}