[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-release-team
Subject:    Re: Help kioslave from KF 5.51.0 always crashes
From:       David Faure <faure () kde ! org>
Date:       2018-10-15 10:19:56
Message-ID: 1563979.QDiWaKGjOA () asterixp50
[Download RAW message or body]

On lundi 15 octobre 2018 11:56:44 CEST Harald Sitter wrote:
> I do wonder if we can init qApp via the slavebase for all slaves?

As in, if there isn't one, create one, on the heap, leaked, or deleted at the 
wrong point of time via a global static? I don't like this, too fragile.

> Although, now that I wrote that I imagine that's not entirely save
> since existing slaves may initialize the slavebase before they create
> a qApp.

That would be very wrong. One is supposed to create the qApp before using any 
Qt API [e.g. because it initializes the locale, etc.].

-- 
David Faure, faure@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic