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
|
} // namespace
|
||||||
|
|
||||||
EmotePopup::EmotePopup(QWidget *parent)
|
EmotePopup::EmotePopup(QWidget *parent)
|
||||||
: BaseWindow(BaseWindow::EnableCustomFrame, parent)
|
: BasePopup(BaseWindow::EnableCustomFrame, parent)
|
||||||
{
|
{
|
||||||
auto layout = new QVBoxLayout(this);
|
auto layout = new QVBoxLayout(this);
|
||||||
this->getLayoutContainer()->setLayout(layout);
|
this->getLayoutContainer()->setLayout(layout);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "widgets/BaseWindow.hpp"
|
#include "widgets/BasePopup.hpp"
|
||||||
|
|
||||||
#include <pajlada/signals/signal.hpp>
|
#include <pajlada/signals/signal.hpp>
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ class ChannelView;
|
||||||
class Channel;
|
class Channel;
|
||||||
using ChannelPtr = std::shared_ptr<Channel>;
|
using ChannelPtr = std::shared_ptr<Channel>;
|
||||||
|
|
||||||
class EmotePopup : public BaseWindow
|
class EmotePopup : public BasePopup
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EmotePopup(QWidget *parent = nullptr);
|
EmotePopup(QWidget *parent = nullptr);
|
||||||
|
|
Loading…
Reference in a new issue