what's the reason for: Fatal error: you need to have a KInstance object before
bastian at kde.org
Wed Jan 21 21:55:48 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel