mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Fix stuff that slipped in with 18812
* IconPalette.cpp : typo's * QLToolbar.cpp : unused code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18813 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f0d56f56ef
commit
2b35bede3d
@ -116,8 +116,8 @@ IconPalette::IconPalette(QWidget * parent)
|
||||
: QWidget(parent, Qt::Popup)
|
||||
{
|
||||
layout_ = new QGridLayout(this);
|
||||
layout->setSpacing(0);
|
||||
layout->setMargin(3);
|
||||
layout_->setSpacing(0);
|
||||
layout_->setMargin(3);
|
||||
}
|
||||
|
||||
|
||||
|
@ -269,7 +269,6 @@ void QLToolbar::add(ToolbarItem const & item)
|
||||
ButtonMenu * m = new ButtonMenu(qt_(to_ascii(item.label_)), tb);
|
||||
m->setWindowTitle(qt_(to_ascii(item.label_)));
|
||||
m->setTearOffEnabled(true);
|
||||
//m->setStyleSheet("padding-top: 2px");
|
||||
connect(this, SIGNAL(updated()), m, SLOT(updateParent()));
|
||||
ToolbarInfo const & tbinfo = toolbarbackend.getToolbar(item.name_);
|
||||
ToolbarInfo::item_iterator it = tbinfo.items.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user