Fix various warnings (#2147)

This commit is contained in:
pajlada
2020-11-01 15:23:58 +01:00
committed by GitHub
parent 2eb01af5e7
commit 9cdddfc65d
3 changed files with 3 additions and 7 deletions
-2
View File
@@ -1,5 +1,3 @@
#pragma once
#ifdef __cplusplus
# include <irccommand.h>
# include <ircconnection.h>
-2
View File
@@ -112,8 +112,6 @@ namespace {
ChannelView::ChannelView(BaseWidget *parent)
: BaseWidget(parent)
, sourceChannel_(nullptr)
, underlyingChannel_(nullptr)
, scrollBar_(new Scrollbar(this))
{
this->setMouseTracking(true);
+3 -3
View File
@@ -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_;