the EmotePopup now inherits from the BasePopup instead of BaseWindow

Fixes #1437
This commit is contained in:
Rasmus Karlsson
2019-12-14 12:57:40 +01:00
parent 55080bd354
commit 58e909067e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -1,6 +1,6 @@
#pragma once
#include "widgets/BaseWindow.hpp"
#include "widgets/BasePopup.hpp"
#include <pajlada/signals/signal.hpp>
@@ -11,7 +11,7 @@ class ChannelView;
class Channel;
using ChannelPtr = std::shared_ptr<Channel>;
class EmotePopup : public BaseWindow
class EmotePopup : public BasePopup
{
public:
EmotePopup(QWidget *parent = nullptr);