Help needed: Fatal error: you need to have a KInstance object before

Alexander Neundorf <[email protected]>
Newsgroups gmane.comp.kde.debian,gmane.comp.kde.devel.debian
Message-ID <[email protected]>
Hi,

I received the following bug report for my fuse_kio, what's the reason for 
it ?


> kde32@linux:~> fuse_kio /home/kde32/ttt fish://snowbird@localhost/
>  args.count() 2
> 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 code does the following:

... (non KDE code)
KCmdLineArgs::init(argc, argv, &ABOUT_DATA);
KCmdLineArgs::addCmdLineOptions(OPTIONS);
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
... (non KDE code)
fuseApp = new FuseApp();  //inherits KApplication


Bye
Alex
-- 
Work: [email protected] - http://www.jenoptik-los.de
Home: [email protected]                - http://www.kde.org
      [email protected]               - http://www.neundorf.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.