Mercurial > hg > octave-shane
changeset 15591:8be22193532b
Add object name for main tool bar so that Qt does not complain at exit (bug #37498)
* main-window.cc (main_window::construct) Set the main_tool_bar object name
to "MainToolBar" after instantiation.
author | Daniel J Sebald <daniel.sebald@ieee.org> |
---|---|
date | Sun, 04 Nov 2012 11:23:38 -0600 |
parents | 3bbba2b09587 |
children | 6fc163b59746 |
files | libgui/src/main-window.cc |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc +++ b/libgui/src/main-window.cc @@ -743,6 +743,7 @@ // Toolbars QToolBar *main_tool_bar = addToolBar ("Main"); + main_tool_bar->setObjectName ("MainToolBar"); main_tool_bar->addAction (new_script_action); main_tool_bar->addAction (open_action); main_tool_bar->addSeparator ();