diff --git a/src/video/netcamview.cpp b/src/video/netcamview.cpp index 0b1237689..0a94ca88a 100644 --- a/src/video/netcamview.cpp +++ b/src/video/netcamview.cpp @@ -48,7 +48,8 @@ const auto BTN_STYLE_SHEET_PATH = QStringLiteral("chatForm/fullScreenButtons.css } NetCamView::NetCamView(ToxPk friendPk_, QWidget* parent) - : selfFrame{nullptr} + : QWidget(parent) + , selfFrame{nullptr} , friendPk{friendPk_} , e(false) {