mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Smash compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38089 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b1c7450f73
commit
ca15005193
@ -628,9 +628,9 @@ bool GuiView::restoreLayout()
|
||||
//code below is skipped when when ~/.config/LyX is (re)created
|
||||
QSize icon_size = settings.value(icon_key).toSize();
|
||||
// Check whether session size changed.
|
||||
if (icon_size.width() != d.smallIconSize &&
|
||||
icon_size.width() != d.normalIconSize &&
|
||||
icon_size.width() != d.bigIconSize) {
|
||||
if (icon_size.width() != int(d.smallIconSize) &&
|
||||
icon_size.width() != int(d.normalIconSize) &&
|
||||
icon_size.width() != int(d.bigIconSize)) {
|
||||
icon_size.setWidth(d.normalIconSize);
|
||||
icon_size.setHeight(d.normalIconSize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user