fix - MacOS - It's impossible to make a screenshot of all screens (change message according to Mac philosophy)

(cherry picked from commit 9decaf287b11c0e523bc702165d348f7f26c5f32)
This commit is contained in:
Yuriy Puchkov
2021-01-11 18:49:14 +02:00
committed by borgmanJeremy
parent 7220ba48e2
commit f56c69540e

View File

@@ -58,8 +58,17 @@ CaptureLauncher::CaptureLauncher(QDialog* parent)
// TODO remember number
m_captureType->insertItem(
1, tr("Rectangular Region"), CaptureRequest::GRAPHICAL_MODE);
#if (defined(Q_OS_MAC) || defined(Q_OS_MAC64) || defined(Q_OS_MACOS) || \
defined(Q_OS_MACX))
// Following to MacOS philosophy (one application cannot be displayed on
// more than one display)
m_captureType->insertItem(
2, tr("Full Screen (Current Display)"), CaptureRequest::FULLSCREEN_MODE);
#else
m_captureType->insertItem(
2, tr("Full Screen (All Monitors)"), CaptureRequest::FULLSCREEN_MODE);
#endif
// m_captureType->insertItem(3, tr("Single Screen"),
// CaptureRequest::SCREEN_MODE);