From 663b93a8070db905e1e7741f9e6b1cea915f61c7 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 7 Dec 2021 11:24:35 +0100 Subject: Fix for issue #278: Can we use the qt/kde file picker instead of gtk? Under the X11 platform, class Fl_Native_File_Chooser will behave as follows : - if the KDE desktop is used and if command "kdialog" is available in the path, the Qt/KDE file chooser is used; - otherwise, if the GTK library is available at run-time, the GTK file chooser is used; - otherwise, the FLTK file chooser is used. In addition, when Fl::OPTION_FNFC_USES_GTK is off, the FLTK file chooser is always used. --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 1b854ad57..3c1225b21 100644 --- a/src/Makefile +++ b/src/Makefile @@ -267,7 +267,8 @@ XLIBCPPFILES = \ Fl_x.cxx \ fl_dnd_x.cxx \ Fl_Native_File_Chooser_FLTK.cxx \ - Fl_Native_File_Chooser_GTK.cxx \ + Fl_Native_File_Chooser_GTK.cxx\ + Fl_Native_File_Chooser_Kdialog.cxx \ Fl_get_key.cxx # This C file is used under condition: BUILD_X11 -- cgit v1.2.3