[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: konqueror and no view ? #212586
From:       Martin Koller <kollix () aon ! at>
Date:       2011-05-29 10:16:38
Message-ID: 201105291216.41577.kollix () aon ! at
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic