what's the reason for: Fatal error: you need to have a KInstance object before
David Faure
faure at kde.org
Wed Jan 21 21:09:50 GMT 2004
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 ?
--
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list