From e8431891a0bcdf92970e9c35b9f42f37a4ed3577 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 3 May 2022 19:19:51 +0100 Subject: [PATCH] LV2 Host: Remove unused function --- .../format_types/juce_LV2PluginFormat.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp index bacb94334d..0651551610 100644 --- a/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp @@ -3171,14 +3171,6 @@ private: float getEffectiveScale() const { return nativeScaleFactor * userScaleFactor; } - float getTopLevelDesktopScale() const - { - if (auto* comp = getTopLevelComponent()) - return comp->getDesktopScaleFactor(); - - return 1.0f; - } - // If possible, try to keep platform-specific handing restricted to the implementation of // ViewComponent. Keep the interface of ViewComponent consistent on all platforms. #if JUCE_LINUX || JUCE_BSD