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:
parent
8ba2dc2ae2
commit
5c1b75cab7
5 changed files with 8 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue