git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18845 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2007-06-21 16:14:52 +00:00
parent f4e3f84f44
commit 37e2aa69f7

View File

@ -212,6 +212,7 @@ void QLToolbar::add(ToolbarItem const & item)
connect(this, SIGNAL(iconSizeChanged(const QSize &)),
tb, SLOT(setIconSize(const QSize &)));
IconPalette * panel = new IconPalette(tb);
panel->setWindowTitle(qt_(to_ascii(item.label_)));
connect(this, SIGNAL(updated()), panel, SLOT(updateParent()));
ToolbarInfo const & tbinfo = toolbarbackend.getToolbar(item.name_);
ToolbarInfo::item_iterator it = tbinfo.items.begin();