diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2012-07-19 11:27:33 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-27 18:07:01 +0200 |
commit | 34303994dbc8ed58a9fa00e8ad9b75e01e629d46 (patch) | |
tree | 5014cdcb3d1a117456f10af36570ac40131dc584 /src/gui/styles | |
parent | fc5174ccce1906c787b7a5ab2f389a1ef439bc2b (diff) | |
download | qt4-tools-34303994dbc8ed58a9fa00e8ad9b75e01e629d46.tar.gz |
Use improved QLibrary search heuristics for libgtk
Change-Id: Id9bdb0199f926d1a518a94080285f96f0810cf92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qgtkstyle_p.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle_p.cpp b/src/gui/styles/qgtkstyle_p.cpp index ce09502f05..777b5a3449 100644 --- a/src/gui/styles/qgtkstyle_p.cpp +++ b/src/gui/styles/qgtkstyle_p.cpp @@ -313,6 +313,7 @@ void QGtkStylePrivate::resolveGtk() const { // enforce the "0" suffix, so we'll open libgtk-x11-2.0.so.0 QLibrary libgtk(QLS("gtk-x11-2.0"), 0, 0); + libgtk.setLoadHints(QLibrary::ImprovedSearchHeuristics); gtk_init = (Ptr_gtk_init)libgtk.resolve("gtk_init"); gtk_window_new = (Ptr_gtk_window_new)libgtk.resolve("gtk_window_new"); |