octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63437] Null pointer dereference in file-edito


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #63437] Null pointer dereference in file-editor-tab.cc
Date: Tue, 29 Nov 2022 14:14:42 -0500 (EST)

Follow-up Comment #14, bug #63437 (project octave):

Looking more at the QSettings class it seems that we been using it
incorrectly.  Since QSettings itself is supposed to manage access to the
global application settings we shouldn't have to maintain our own global
QSettings object.  We should just be creating settings objects locally when
needed and each one of those local QSettings objects accesses the global
application settings.

For example: http://katecpp.github.io/qsettings/

Trying to have a single global QSettings object causes trouble and is not
necessary.  I'm guessing that our attempt to do that was due to
misunderstanding how QSettings works and how it is supposed to be used.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63437>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]