diff options
Diffstat (limited to 'net-im/qTox/files/patch-git-16452eff0c21abc2888150e4f9eefd12072fc656')
-rw-r--r-- | net-im/qTox/files/patch-git-16452eff0c21abc2888150e4f9eefd12072fc656 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-im/qTox/files/patch-git-16452eff0c21abc2888150e4f9eefd12072fc656 b/net-im/qTox/files/patch-git-16452eff0c21abc2888150e4f9eefd12072fc656 new file mode 100644 index 000000000000..957b064b90f2 --- /dev/null +++ b/net-im/qTox/files/patch-git-16452eff0c21abc2888150e4f9eefd12072fc656 @@ -0,0 +1,17 @@ +diff --git src/widget/form/settings/avform.cpp src/widget/form/settings/avform.cpp +index 9a306c2a..4c360143 100644 +--- src/widget/form/settings/avform.cpp ++++ src/widget/form/settings/avform.cpp +@@ -105,9 +105,11 @@ AVForm::AVForm(IAudioControl& audio, CoreAV* coreAV, CameraSource& camera, + eventsInit(); + + QDesktopWidget* desktop = QApplication::desktop(); +- connect(desktop, &QDesktopWidget::resized, this, &AVForm::rescanDevices); + connect(desktop, &QDesktopWidget::screenCountChanged, this, &AVForm::rescanDevices); + ++ for (QScreen* qScreen : QGuiApplication::screens()) { ++ connect(qScreen, &QScreen::geometryChanged, this, &AVForm::rescanDevices); ++ } + Translator::registerHandler(std::bind(&AVForm::retranslateUi, this), this); + } + |