[rkward-cvs] SF.net SVN: rkward:[2557] trunk/rkward/rkward/windows/rkhtmlwindow.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Tue Jun 30 13:04:41 UTC 2009
Revision: 2557
http://rkward.svn.sourceforge.net/rkward/?rev=2557&view=rev
Author: tfry
Date: 2009-06-30 13:04:41 +0000 (Tue, 30 Jun 2009)
Log Message:
-----------
try to fix crash with kdelibs 4.0.3 (reported by meik)
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkhtmlwindow.cpp
Modified: trunk/rkward/rkward/windows/rkhtmlwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhtmlwindow.cpp 2009-06-30 11:22:33 UTC (rev 2556)
+++ trunk/rkward/rkward/windows/rkhtmlwindow.cpp 2009-06-30 13:04:41 UTC (rev 2557)
@@ -383,7 +383,7 @@
setXMLFile ("rkoutputwindow.rc");
run_selection->setVisible (false);
- khtmlpart->removeChildClient (this);
+ if (parentClient ()) khtmlpart->removeChildClient (this);
khtmlpart->insertChildClient (this);
} else {
RK_ASSERT (new_mode == HTMLHelpWindow);
@@ -399,7 +399,7 @@
setXMLFile ("rkhelpwindow.rc");
run_selection->setVisible (true);
- khtmlpart->removeChildClient (this);
+ if (parentClient ()) khtmlpart->removeChildClient (this);
khtmlpart->insertChildClient (this);
}
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