diff options
| author | tobtoht <tob@featherwallet.org> | 2024-08-09 23:30:30 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2024-08-09 23:30:30 +0200 |
| commit | 8118355f39b114e309faad4574abf71c40bfe534 (patch) | |
| tree | c8c93b2df7a01a06f723a4d2f6a4255496a2fda0 /src/main | |
| parent | f0b1b8cd0896b8de6e5272d2206014d7db892942 (diff) | |
| download | monzero-gui-8118355f39b114e309faad4574abf71c40bfe534.tar.gz monzero-gui-8118355f39b114e309faad4574abf71c40bfe534.tar.xz monzero-gui-8118355f39b114e309faad4574abf71c40bfe534.zip | |
macOS: remove deprecated screenshot function
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/oshelper.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/oshelper.cpp b/src/main/oshelper.cpp index 766aac5d..f9e33d13 100644 --- a/src/main/oshelper.cpp +++ b/src/main/oshelper.cpp @@ -70,9 +70,6 @@ namespace QPixmap screenshot() { -#ifdef Q_OS_MAC - return MacOSHelper::screenshot(); -#else std::unordered_set<QWindow *> hidden; const QWindowList windows = QGuiApplication::allWindows(); for (QWindow *window : windows) @@ -91,7 +88,6 @@ QPixmap screenshot() }); return QGuiApplication::primaryScreen()->grabWindow(0); -#endif } } // namespace |
