summary refs log tree commit diff
path: root/src/ui/Menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/Menu.h')
-rw-r--r--src/ui/Menu.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ui/Menu.h b/src/ui/Menu.h
deleted file mode 100644
index a666229a..00000000
--- a/src/ui/Menu.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// SPDX-FileCopyrightText: 2021 Nheko Contributors
-// SPDX-FileCopyrightText: 2022 Nheko Contributors
-//
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#pragma once
-
-#include <QMenu>
-
-#include "Config.h"
-
-class Menu : public QMenu
-{
-    Q_OBJECT
-public:
-    Menu(QWidget *parent = nullptr)
-      : QMenu(parent){};
-
-protected:
-    void leaveEvent(QEvent *e) override
-    {
-        hide();
-
-        QMenu::leaveEvent(e);
-    }
-};