summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu_wince.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-06-04 09:10:47 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-06-04 09:14:37 (GMT)
commit397295f1a91c782f905374213b85ef1108c357e3 (patch)
tree0ad3844c94c302121377ccb25a3e33f2b284d3c1 /src/gui/widgets/qmenu_wince.cpp
parent3a3a3964c001112738890dde897a2f024baf8825 (diff)
downloadQt-397295f1a91c782f905374213b85ef1108c357e3.zip
Qt-397295f1a91c782f905374213b85ef1108c357e3.tar.gz
Qt-397295f1a91c782f905374213b85ef1108c357e3.tar.bz2
Qt now really unloads plugins and libraries when exiting an app
It also means that when creating a QPluginLoader or a QLibrary for a dynamic lib already loaded, isLoaded will return true immediately after the creation of the instance of QPluginLoader or QLibrary. Reviewed-By: Jan-Arve Saether
Diffstat (limited to 'src/gui/widgets/qmenu_wince.cpp')
-rw-r--r--src/gui/widgets/qmenu_wince.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/qmenu_wince.cpp b/src/gui/widgets/qmenu_wince.cpp
index e088db6..15d0116 100644
--- a/src/gui/widgets/qmenu_wince.cpp
+++ b/src/gui/widgets/qmenu_wince.cpp
@@ -113,8 +113,6 @@ static void resolveAygLibs()
if (!aygResolved) {
aygResolved = true;
QLibrary aygLib(QLatin1String("aygshell"));
- if (!aygLib.load())
- return;
ptrCreateMenuBar = (AygCreateMenuBar) aygLib.resolve("SHCreateMenuBar");
ptrEnableSoftKey = (AygEnableSoftKey) aygLib.resolve("SHEnableSoftkey");
}