[rkward-cvs] SF.net SVN: rkward:[3703] trunk/rkward/rkward/windows/rkhtmlwindow.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Jun 27 15:06:42 UTC 2011
Revision: 3703
http://rkward.svn.sourceforge.net/rkward/?rev=3703&view=rev
Author: tfry
Date: 2011-06-27 15:06:42 +0000 (Mon, 27 Jun 2011)
Log Message:
-----------
Minor correction
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkhtmlwindow.cpp
Modified: trunk/rkward/rkward/windows/rkhtmlwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhtmlwindow.cpp 2011-06-27 12:17:44 UTC (rev 3702)
+++ trunk/rkward/rkward/windows/rkhtmlwindow.cpp 2011-06-27 15:06:42 UTC (rev 3703)
@@ -96,7 +96,8 @@
// WORKAROUND for annoying kdelibs bug (KDE 4.0 up to at least KDE 4.6): Status bar icons added by plugins typically do not get deleted in case the KParts::StatusBarExtension
// has already been deleted, first. See http://www.mail-archive.com/rkward-devel@lists.sourceforge.net/msg01345.html . Therefore, delete the plugins, explicitely, while the
// StatusBarExtension is still alive...
- foreach (KParts::Plugin *plugin, KParts::Plugin::pluginObjects (khtmlpart)) {
+ QList<KParts::Plugin*> plugins = KParts::Plugin::pluginObjects (khtmlpart);
+ foreach (KParts::Plugin *plugin, plugins) {
delete plugin;
}
// I hope this does not come back to bite us one day... If it does, here's a safer variant, which simply hides the problem (the way it is hidden in konqueror, among others):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list