mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
Some more fixes to icon size and session settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1009aed25a
commit
312bb47dd5
@ -913,10 +913,6 @@ void GuiApplication::createView(QString const & geometry_arg, bool autoShow)
|
||||
id++;
|
||||
GuiView * view = new GuiView(id);
|
||||
|
||||
// copy the icon size from old view
|
||||
if (current_view_)
|
||||
view->setIconSize(current_view_->iconSize());
|
||||
|
||||
// register view
|
||||
d->views_[id] = view;
|
||||
|
||||
|
@ -668,6 +668,7 @@ GuiToolbar::GuiToolbar(ToolbarInfo const & tbinfo, GuiView & owner)
|
||||
allowauto_(false), owner_(owner), layout_(0), command_buffer_(0),
|
||||
tbinfo_(tbinfo), filled_(false)
|
||||
{
|
||||
setIconSize(owner.iconSize());
|
||||
connect(&owner, SIGNAL(iconSizeChanged(QSize)), this,
|
||||
SLOT(setIconSize(QSize)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user