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

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] Data migration issue
From:       laurent Montel <montel () kde ! org>
Date:       2015-03-07 13:43:14
Message-ID: 5094111.JLMe75JhAE () linux-19td
[Download RAW message or body]

Le Saturday 07 March 2015 13:47:13 David Faure a écrit :
> > KdePlatformTheme::loadSetting
> 
> This code runs before the application name is set, but the fallback to
> argv[0] should still work. [This makes me realize that we should call
> QCoreApplication::setApplicationName before creating the application
> instance, everywhere.].
> 
> >  This function caches that instance of
> > 
> > KSharedConfig, which is working ontop of an empty file and thus does
> > nothing.
> 
> Right. But that's exactly what reparseConfiguration() should fix, the case
> where the file on disk was changed.
> Indeed, given that the migrator code is in kcoreaddons, it can't do it
> automatically. (On hindsight, maybe the config migrator should have been in
> KConfig...)
> 
> I'm surprised that Laurent didn't hit this issue though?

No I never see it, and nobody reported it before that.
So what is the fix that I need to do ?

Regards

-- 
Laurent Montel | laurent.montel@kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53,  http://www.kdab.fr


_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

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

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