2017-10-17 9:36 GMT+02:00 Pavel Sanda <sa...@lyx.org>: > Jean-Marc Lasgouttes wrote: > > Good catch. A solution is porbably to instantiate a QSettings in > > saveUISettings and pass it as parameter of the various saveSession() > > methods. > > If there is no other user of saveSession that sounds like best option. >
It should be rather safe: http://doc.qt.io/qt-4.8/qsettings.html#accessing-settings-from-multiple-threads-or-processes-simultaneously Jürgen