1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(genericchatitemwidget, micfeedbackwidget): Added members init in the constructor

This commit is contained in:
Polshakov Dmitry 2016-04-19 12:44:46 +03:00 committed by Diadlo
parent 910c41f4fa
commit 27faec918a
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
#include <QVariant> #include <QVariant>
GenericChatItemWidget::GenericChatItemWidget(QWidget *parent) GenericChatItemWidget::GenericChatItemWidget(QWidget *parent)
: QFrame(parent) : QFrame(parent), compact(false)
{ {
setProperty("compact", Settings::getInstance().getCompactLayout()); setProperty("compact", Settings::getInstance().getCompactLayout());

View File

@ -23,7 +23,7 @@
#include <QLinearGradient> #include <QLinearGradient>
MicFeedbackWidget::MicFeedbackWidget(QWidget *parent) MicFeedbackWidget::MicFeedbackWidget(QWidget *parent)
: QWidget(parent) : QWidget(parent), mMeterListener(nullptr)
{ {
setFixedHeight(20); setFixedHeight(20);
} }