diff options
author | Nicky <nicky.dasmijn@posteo.nl> | 2024-07-26 16:23:54 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@posteo.nl> | 2024-07-26 16:45:51 +0200 |
commit | c363e5bcf3e0cc60ee782d2ad82a8687e8a85cad (patch) | |
tree | 92946e1107ffde3d14f47093692872aba69e204a /indra/newview/lldirpicker.cpp | |
parent | 4225a04b444a3108439842b3ec629a55a5f7ba8b (diff) |
Post merge cleanup of Linux code
Diffstat (limited to 'indra/newview/lldirpicker.cpp')
-rw-r--r-- | indra/newview/lldirpicker.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/newview/lldirpicker.cpp b/indra/newview/lldirpicker.cpp index 5df3ed1ba4..1d996b8c93 100644 --- a/indra/newview/lldirpicker.cpp +++ b/indra/newview/lldirpicker.cpp @@ -272,23 +272,6 @@ bool LLDirPicker::getDir(std::string* filename, bool blocking) } return !mDir.empty(); #endif -#if !LL_MESA_HEADLESS - - if (mFilePicker) - { - GtkWindow* picker = mFilePicker->buildFilePicker(false, true, - "dirpicker"); - - if (picker) - { - gtk_window_set_title(GTK_WINDOW(picker), LLTrans::getString("choose_the_directory").c_str()); - gtk_widget_show_all(GTK_WIDGET(picker)); - gtk_main(); - return (!mFilePicker->getFirstFile().empty()); - } - } -#endif // !LL_MESA_HEADLESS - return false; } |