From dcb9bda19cf29cd6be8672818f10d3314c528445 Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 25 Jan 2022 12:30:56 +0100 Subject: [PATCH] Only leave out LLFilePicker *mFilePicker when using FLTK. --- indra/newview/lldirpicker.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/indra/newview/lldirpicker.h b/indra/newview/lldirpicker.h index 5683e34131..3406488494 100644 --- a/indra/newview/lldirpicker.h +++ b/indra/newview/lldirpicker.h @@ -79,8 +79,11 @@ private: bool check_local_file_access_enabled(); #if LL_LINUX || LL_DARWIN - // On Linux we just implement LLDirPicker on top of LLFilePicker - // LLFilePicker *mFilePicker; + // On Linux we just implement LLDirPicker on top of LLFilePicker + // Seems like on OSX too ... Unless FLTK is used, then nope +#ifndef LL_FLTK + LLFilePicker *mFilePicker; +#endif #endif