Help needed: Fatal error: you need to have a KInstance object before
Alexander Neundorf <[email protected]> Sun, 11 Jan 2004 21:40:54 +0100
| 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