konqueror and no view ? #212586

Martin Koller kollix at aon.at
Sun May 29 11:16:38 BST 2011


On Wednesday, 25. May 2011 13:33:31 Leo Savernik wrote:
> Am Dienstag, 24. Mai 2011 schrieb David Faure:
> > On Sunday 22 May 2011, Martin Koller wrote:
> > > So my question: how can I achieve a test where konqi has no current view
> > > yet ?
> > 
> > Try 'konqueror about:blank', maybe?
> 
> AFAIK this yields an empty HTML-view.


Right, this produces a page with
<html><head><title>about:blank</title></head><body></body></html>

ok, so nobody seems to know how to reproduce that problem, but obviously someone hit it.

So what about my proposed fix in
 QString KonqExtendedBookmarkOwner::currentUrl() const   


  return m_pKonqMainWindow->currentView() ? m_pKonqMainWindow->currentView()->url().url() : QString();

I'd say it should not hurt.

-- 
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/20110529/34f52216/attachment.sig>


More information about the kfm-devel mailing list