aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-08-13 12:41:22 -0400
committerluigi1111 <luigi1111w@gmail.com>2024-08-13 12:41:22 -0400
commitaf92ca67d761b9b8d15b3920351f648822a74c23 (patch)
treeb58769948b525e24e1696094e6605c27d0fe1f4b /src/main
parent6889ab5ac178a3bcec6638106e60c413e9d3b071 (diff)
parent8118355f39b114e309faad4574abf71c40bfe534 (diff)
downloadmonzero-gui-af92ca67d761b9b8d15b3920351f648822a74c23.tar.gz
monzero-gui-af92ca67d761b9b8d15b3920351f648822a74c23.tar.xz
monzero-gui-af92ca67d761b9b8d15b3920351f648822a74c23.zip
Merge pull request #4333
8118355 macOS: remove deprecated screenshot function (tobtoht)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/oshelper.cpp4
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