the EmotePopup now inherits from the BasePopup instead of BaseWindow
Fixes #1437
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user