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

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

[Octave-bug-tracker] [bug #60646] launching qt doc browser with doc func


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60646] launching qt doc browser with doc function leaves temporary files
Date: Fri, 11 Jun 2021 15:49:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

@ttl:  So deleting a window/widget doesn't trigger a close signal?  If closing
causes other signals to be emitted, do we need to use deleteLater for the
widgets that are closed or is it safe to just delete them immediately after
calling close?

I suppose we need to do the same for all the dock widgets that are now owned
by base_qobject?

Is it safe to call close on a widget that is already closed?  Maybe we could
use


if (m_main_window)
  delete m_main_window;
else
  {
    if (m_documentation_widget)
      m_documentation_widget->close ();

    if (...)
      ...->close ();

    ...
  }

// Or just delete?
m_documentation_widget->deleteLater ();
...



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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