On 01/06/2016 09:48, Nick Dedekind wrote:
>> +QByteArray UbuntuClientIntegration::generateSessionName(QStringList &args)
>> >+{
> Perhaps use QApplication::applicationName first? I actually had a branch for this about a thousand years ago, but it never went anywhere.
>
QApplication::applicationName might not be set yet when
QPlatformIntegration is created (which is really early). It can be set
or even changed at any time by calling
QCoreApplicaiton::setApplicationName, and we would have not way of
updating your session id to follow those changes. So the only thing sure
to exist at QPlatformIntegration creation is the application arguments.
On 01/06/2016 09:48, Nick Dedekind wrote: egration: :generateSessio nName(QStringLi st &args) :applicationNam e first? I actually had a branch for this about a thousand years ago, but it never went anywhere.
>> +QByteArray UbuntuClientInt
>> >+{
> Perhaps use QApplication:
>
QApplication: :applicationNam e might not be set yet when ation is created (which is really early). It can be set n::setApplicati onName, and we would have not way of ation creation is the application arguments.
QPlatformIntegr
or even changed at any time by calling
QCoreApplicaito
updating your session id to follow those changes. So the only thing sure
to exist at QPlatformIntegr