1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Platform: Remove compatibility checks for Windows 8.1 and earlier

This commit is contained in:
reuk 2024-07-01 19:01:21 +01:00
parent 8ba2dc2ae2
commit 5c1b75cab7
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
5 changed files with 8 additions and 31 deletions

View file

@ -342,7 +342,7 @@ private:
}
//==============================================================================
Array<URL> openDialogVistaAndUp()
Array<URL> openDialogWithoutPreview()
{
const auto getUrl = [] (IShellItem& item)
{
@ -431,7 +431,7 @@ private:
return result;
}
Array<URL> openDialogPreVista (bool async)
Array<URL> openDialogWithPreview (bool async)
{
Array<URL> selections;
@ -546,13 +546,10 @@ private:
const Remover remover (*this);
if (SystemStats::getOperatingSystemType() >= SystemStats::WinVista
&& customComponent == nullptr)
{
return openDialogVistaAndUp();
}
if (customComponent == nullptr)
return openDialogWithoutPreview();
return openDialogPreVista (async);
return openDialogWithPreview (async);
}
void run() override