Fix crash in gtk file dialog on Wayland

This commit is contained in:
Ilya Fedin 2020-05-30 19:36:31 +04:00 committed by John Preston
parent 7ac78be984
commit 413ddf285e
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ void start() {
bool gtkLoaded = false;
QLibrary lib_gtk;
lib_gtk.setLoadHints(QLibrary::DeepBindHint);
if (loadLibrary(lib_gtk, "gtk-3", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);