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

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

[Octave-bug-tracker] [bug #53443] Variable Editor: openvar VAR should sh


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53443] Variable Editor: openvar VAR should show the tab on which the variable editor is
Date: Mon, 9 Apr 2018 02:37:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #13, bug #53443 (project octave):

For reference, pointers to widgets are pulled out of QVariants elsewhere in
libgui, it would probably be helpful to our future selves if we did it
consistently in all places.

In webinfo.cc:


QVariant tab_data = _tab_bar->tabData (index);
_text_browser = static_cast<QTextBrowser *> (tab_data.value<void*> ());
…
QVariant tab_data = _tab_bar->tabData (index);
QWidget *w = static_cast<QWidget *> (tab_data.value<void*> ());


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53443>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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