diff options
author | Andy Shaw <qt-info@nokia.com> | 2009-06-29 13:02:20 (GMT) |
---|---|---|
committer | Andy Shaw <qt-info@nokia.com> | 2009-06-29 13:02:20 (GMT) |
commit | 982f73014771bbfb782d835eb8e6be3b44ff4ddc (patch) | |
tree | 037f804eb085f58fc4cd106a613237fd1409ce19 /src/activeqt | |
parent | 29812003b5ae8641773e0f5bd35cf2c82957088b (diff) | |
download | Qt-982f73014771bbfb782d835eb8e6be3b44ff4ddc.zip Qt-982f73014771bbfb782d835eb8e6be3b44ff4ddc.tar.gz Qt-982f73014771bbfb782d835eb8e6be3b44ff4ddc.tar.bz2 |
Remove a couple of registry entries when unregistering an ActiveX server
These two entries were not removed since the server was an OOP server
Reviewed-by: Prasanth
Diffstat (limited to 'src/activeqt')
-rw-r--r-- | src/activeqt/control/qaxserver.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/activeqt/control/qaxserver.cpp b/src/activeqt/control/qaxserver.cpp index c15cdac..7ac053e 100644 --- a/src/activeqt/control/qaxserver.cpp +++ b/src/activeqt/control/qaxserver.cpp @@ -351,6 +351,10 @@ HRESULT UpdateRegistry(BOOL bRegister) qAxFactory()->registerClass(*key, &settings); } } else { + if (qAxOutProcServer) { + settings.remove(QLatin1String("/AppID/") + appId + QLatin1String("/.")); + settings.remove(QLatin1String("/AppID/") + module + QLatin1String(".EXE")); + } QStringList keys = qAxFactory()->featureList(); for (QStringList::Iterator key = keys.begin(); key != keys.end(); ++key) { QString className = *key; |