Ensure GtkIntegration::load() is called only once

This commit is contained in:
Ilya Fedin 2021-01-23 04:39:58 +04:00 committed by John Preston
parent 6374d4eeda
commit b919a0627a

View file

@ -316,6 +316,7 @@ GtkIntegration *GtkIntegration::Instance() {
}
void GtkIntegration::load() {
Expects(!GtkLoaded);
DEBUG_LOG(("Loading GTK"));
QLibrary lib_gtk;