mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix various warnings (#2147)
This commit is contained in:
parent
2eb01af5e7
commit
9cdddfc65d
|
@ -1,5 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
# include <irccommand.h>
|
||||
# include <ircconnection.h>
|
||||
|
|
|
@ -112,8 +112,6 @@ namespace {
|
|||
|
||||
ChannelView::ChannelView(BaseWidget *parent)
|
||||
: BaseWidget(parent)
|
||||
, sourceChannel_(nullptr)
|
||||
, underlyingChannel_(nullptr)
|
||||
, scrollBar_(new Scrollbar(this))
|
||||
{
|
||||
this->setMouseTracking(true);
|
||||
|
|
|
@ -182,9 +182,9 @@ private:
|
|||
|
||||
LimitedQueueSnapshot<MessageLayoutPtr> snapshot_;
|
||||
|
||||
ChannelPtr channel_;
|
||||
ChannelPtr underlyingChannel_;
|
||||
ChannelPtr sourceChannel_;
|
||||
ChannelPtr channel_ = nullptr;
|
||||
ChannelPtr underlyingChannel_ = nullptr;
|
||||
ChannelPtr sourceChannel_ = nullptr;
|
||||
|
||||
Scrollbar *scrollBar_;
|
||||
EffectLabel *goToBottom_;
|
||||
|
|
Loading…
Reference in a new issue