Disable (crashing) capturer on Linux.

This commit is contained in:
John Preston 2021-04-27 19:35:47 +04:00
parent 75f220c3d9
commit 36888f844f

View file

@ -726,7 +726,9 @@ void Panel::refreshLeftButton() {
_screenShare.create(widget(), st::groupCallScreenShareSmall);
_screenShare->show();
_screenShare->setClickedCallback([=] {
#ifndef Q_OS_LINUX
Ui::DesktopCapture::ChooseSource(this);
#endif // Q_OS_LINUX
});
_screenShare->setText(tr::lng_group_call_screen_share());
_screenShare->setColorOverrides(_mute->colorOverrides());