[Development] Question about QCoreApplicationData::*_libpaths

Marc Mutz marc.mutz at kdab.com
Tue Jan 5 13:52:06 CET 2016


Hi,

I was just wondering why the *_libpaths are QScopedPointer<QStringList> 
instead of just QStringList? If the answer is "lazy evaluation", a bool 
*_libpaths_inited would be preferable, if the lists can ever be empty., or 
not? The handling code is made very complicated by the use of 
QScopedPointer...

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list