[PATCH] Re: what's the reason for: Fatal error: you need to have a KInstance object before

Alexander Neundorf neundorf at kde.org
Fri Jan 23 17:17:13 GMT 2004


On Wednesday 21 January 2004 23:08, Waldo Bastian wrote:
> On Wed January 21 2004 22:55, Waldo Bastian wrote:
> > On Wed January 21 2004 22:09, David Faure wrote:
> > > On Wednesday 21 January 2004 21:49, David Faure wrote:
> > > > On Wednesday 21 January 2004 21:44, Alexander Neundorf wrote:
> > > > > > kde32 at linux:~> fuse_kio /home/kde32/ttt
> > > > > > fish://snowbird@localhost/ Fatal error: you need to have a
> > > > > > KInstance object before
> > > > > > you do anything that requires it! Examples of this are config
> > > > > > objects, standard directories or translations.
> > > > >
> > > > > The error seems to happen in the call to args->url(1).
> > >
> > > Ah I see the problem: the addition of the KProtocolInfo::uriParseMode
> > > call in KURL::uriModeForProtocol means that KURL requires KStandardDirs
> > > now. (due to the locate() call in KProtocolInfo::KProtocolInfo)
> > >
> > > Hmm. KURL used to be simple... :)
> > > Waldo: do you think KURL could default to a "safe" or "most common"
> > > mode if KGlobal::_instance == 0 ?
> >
> > Yes, it certainly should.
>
> Please test.
>
> Cheers,
> Waldo


Works :-)
Can this still get into 3.2 ? :-)

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net





More information about the kde-core-devel mailing list