konqueror and no view ? #212586
Martin Koller
kollix at aon.at
Sun May 22 19:25:58 BST 2011
Hi,
in checking bug #212586, I found that konqi could crash in
QString KonqExtendedBookmarkOwner::currentUrl() const
{
return m_pKonqMainWindow->currentView()->url().url();
if there is the possibility that there is no currentView() yet.
This seems to be the case in this bug:
#5 KonqView::url (this=0x0) at
...
So my question: how can I achieve a test where konqi has no current view yet ?
Or what about just modifying the code to
return m_pKonqMainWindow->currentView() ? m_pKonqMainWindow->currentView()->url().url() : QString();
?
--
Best regards/Schöne Grüße
Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20110522/26ff12a2/attachment.sig>
More information about the kfm-devel
mailing list