Made sizeHint const.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17711 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-04-03 21:47:00 +00:00
parent c94c3a0f1c
commit 9fcfc51228

View File

@ -50,7 +50,7 @@ void QDialogView::show()
build(); build();
} }
QSize sizeHint = form()->sizeHint(); QSize const sizeHint = form()->sizeHint();
if (sizeHint.height() >= 0 && sizeHint.width() >= 0) if (sizeHint.height() >= 0 && sizeHint.width() >= 0)
form()->setMinimumSize(sizeHint); form()->setMinimumSize(sizeHint);