From 971d24dbedadc14bbabb0fb68baf2c4e015ac6ca Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 27 Jul 2024 12:52:31 -0500 Subject: [PATCH] hopefully fix build --- src/gui/fileDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/fileDialog.cpp b/src/gui/fileDialog.cpp index e07e9a91d..cfebb2015 100644 --- a/src/gui/fileDialog.cpp +++ b/src/gui/fileDialog.cpp @@ -303,9 +303,9 @@ bool FurnaceGUIFileDialog::openSelectDir(String header, String path, double dpiS #ifdef USE_NFD dialogOK=false; #ifdef NFD_NON_THREADED - _nfdThread(NFDState(2,header,filter,path,NULL,false),&dialogOK,&nfdResult,&hasError); + _nfdThread(NFDState(2,header,std::vector(),path,NULL,false),&dialogOK,&nfdResult,&hasError); #else - dialogF=new std::thread(_nfdThread,NFDState(2,header,filter,path,NULL,false),&dialogOK,&nfdResult,&hasError); + dialogF=new std::thread(_nfdThread,NFDState(2,header,std::vector(),path,NULL,false),&dialogOK,&nfdResult,&hasError); #endif #elif defined(ANDROID) hasError=true;