Merge pull request #4401 from Scrxtchy/QRDefaultOptions

Use Default Task Settings for screen QR scanner
This commit is contained in:
Jaex 2019-10-01 19:47:45 +03:00 committed by GitHub
commit 096727311e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ private void btnDecodeFromScreen_Click(object sender, EventArgs e)
Hide();
Thread.Sleep(250);
using (Image img = RegionCaptureTasks.GetRegionImage(null))
using (Image img = RegionCaptureTasks.GetRegionImage(TaskSettings.GetDefaultTaskSettings().CaptureSettings.SurfaceOptions))
{
if (img != null)
{