fix ctrl-w that I broke KKona

fix #369
This commit is contained in:
Rasmus Karlsson 2018-04-28 22:00:05 +02:00
parent 01b2230bcf
commit 65f5430d8b
2 changed files with 9 additions and 4 deletions

View file

@ -38,6 +38,12 @@ using namespace chatterino::messages;
namespace chatterino {
namespace widgets {
Split::Split(SplitContainer *parent)
: Split((QWidget *)parent)
{
this->container = parent;
}
Split::Split(QWidget *parent)
: BaseWidget(parent)
, container(nullptr)

View file

@ -22,10 +22,6 @@ namespace widgets {
class SplitContainer;
class xD
{
};
// Each ChatWidget consists of three sub-elements that handle their own part of the chat widget:
// ChatWidgetHeader
// - Responsible for rendering which channel the ChatWidget is in, and the menu in the top-left of
@ -43,7 +39,10 @@ class Split : public BaseWidget
Q_OBJECT
public:
explicit Split(SplitContainer *parent);
explicit Split(BaseWidget *parent);
explicit Split(QWidget *parent);
~Split() override;
pajlada::Signals::NoArgSignal channelChanged;