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

fix(ui): Pass NetCamView's parent pointer to base QWidget

This commit is contained in:
Anthony Bilinski 2022-03-10 23:47:10 -08:00
parent 48ad6cc17a
commit 809c695718
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -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)
{