SVN commit 656558 by orlovich: Don't crash on submitting still looks kinda broken, but I'd need pmax's help to fix it up... M +1 -1 html_formimpl.cpp --- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #656557:656558 @@ -2514,7 +2514,7 @@ encoded_values += enc_name; // pop up the fancy certificate creation dialog here - KSSLKeyGen* const kg = new KSSLKeyGen(static_cast(m_render)->widget(), "Key Generator", true); + KSSLKeyGen* const kg = new KSSLKeyGen(getDocument()->view(), "Key Generator", true); kg->setKeySize(0); successful = (QDialog::Accepted == kg->exec());