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:
parent
910c41f4fa
commit
27faec918a
|
@ -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());
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user