mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25316 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9c715ccd6f
commit
1009aed25a
@ -668,12 +668,14 @@ GuiToolbar::GuiToolbar(ToolbarInfo const & tbinfo, GuiView & owner)
|
||||
allowauto_(false), owner_(owner), layout_(0), command_buffer_(0),
|
||||
tbinfo_(tbinfo), filled_(false)
|
||||
{
|
||||
connect(&owner, SIGNAL(iconSizeChanged(QSize)), this,
|
||||
SLOT(setIconSize(QSize)));
|
||||
|
||||
// Toolbar dragging is allowed.
|
||||
setMovable(true);
|
||||
// This is used by QMainWindow::restoreState for proper main window state
|
||||
// restauration.
|
||||
setObjectName(toqstr(tbinfo.name));
|
||||
|
||||
restoreSession();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user