From 40cde43a6875b2cc9fb351c8a286ca9288506b70 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sat, 17 Dec 2022 13:30:08 +0100 Subject: [PATCH] Fix disable sdk on debug mode --- ScreenPlayWallpaper/src/macwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ScreenPlayWallpaper/src/macwindow.cpp b/ScreenPlayWallpaper/src/macwindow.cpp index 10468242..9218f051 100644 --- a/ScreenPlayWallpaper/src/macwindow.cpp +++ b/ScreenPlayWallpaper/src/macwindow.cpp @@ -61,7 +61,8 @@ MacWindow::MacWindow( MacIntegration* macIntegration = new MacIntegration(this); macIntegration->SetBackgroundLevel(&m_window); - sdk()->start(); + if (!debugMode) + sdk()->start(); } void MacWindow::setVisible(bool show)