Jim Bublitz <[EMAIL PROTECTED]> wrote:

> You're using QApplication instead of KApplication. If you add:
>
>    from kdecore import KApplication
>
> and change
>
>    app = QApplication (sys.argv)
>
> to
>
>    app = KApplication (sys.argv,  "")
>
> it won't segfault (doesn't appear to display everything the way you
probably
> intend - didn't troubleshoot that).


Out of curiosity, couldn't this be checked to generate an Exception instead
of a segfault?
-- 
Giovanni Bajo

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to