2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

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

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);