From 336a475921406ce7adeb61fa1969a96491e19d9a Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 29 May 2025 17:27:41 +0100 Subject: [PATCH] PluginListComponent: Pass associatedComponent for temporary AlertWindows This should allow these alert windows to display at the correct scale on HiDPI Windows machines. --- .../scanning/juce_PluginListComponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp index e1484c1518..e679fa0fd0 100644 --- a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp +++ b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp @@ -159,8 +159,8 @@ public: formatToScan (format), filesOrIdentifiersToScan (filesOrIdentifiers), propertiesToUse (properties), - pathChooserWindow (TRANS ("Select folders to scan..."), String(), MessageBoxIconType::NoIcon), - progressWindow (title, text, MessageBoxIconType::NoIcon), + pathChooserWindow (TRANS ("Select folders to scan..."), String(), MessageBoxIconType::NoIcon, &plc), + progressWindow (title, text, MessageBoxIconType::NoIcon, &plc), numThreads (threads), allowAsync (allowPluginsWhichRequireAsynchronousInstantiation) {