mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
the EmotePopup now inherits from the BasePopup instead of BaseWindow
Fixes #1437
This commit is contained in:
parent
55080bd354
commit
58e909067e
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue