From 58e909067e410a5ee3be316568dc733fa9921585 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 14 Dec 2019 12:57:40 +0100 Subject: [PATCH] the EmotePopup now inherits from the BasePopup instead of BaseWindow Fixes #1437 --- src/widgets/dialogs/EmotePopup.cpp | 2 +- src/widgets/dialogs/EmotePopup.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/dialogs/EmotePopup.cpp b/src/widgets/dialogs/EmotePopup.cpp index 11c3ed886..6aebd2149 100644 --- a/src/widgets/dialogs/EmotePopup.cpp +++ b/src/widgets/dialogs/EmotePopup.cpp @@ -101,7 +101,7 @@ namespace { } // namespace EmotePopup::EmotePopup(QWidget *parent) - : BaseWindow(BaseWindow::EnableCustomFrame, parent) + : BasePopup(BaseWindow::EnableCustomFrame, parent) { auto layout = new QVBoxLayout(this); this->getLayoutContainer()->setLayout(layout); diff --git a/src/widgets/dialogs/EmotePopup.hpp b/src/widgets/dialogs/EmotePopup.hpp index 4997e578a..7e24faf95 100644 --- a/src/widgets/dialogs/EmotePopup.hpp +++ b/src/widgets/dialogs/EmotePopup.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widgets/BaseWindow.hpp" +#include "widgets/BasePopup.hpp" #include @@ -11,7 +11,7 @@ class ChannelView; class Channel; using ChannelPtr = std::shared_ptr; -class EmotePopup : public BaseWindow +class EmotePopup : public BasePopup { public: EmotePopup(QWidget *parent = nullptr);