Trivial bits

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5292 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-09-12 17:07:31 +00:00
parent be865e22f2
commit 0d325e0e3f
3 changed files with 8 additions and 4 deletions

View File

@ -111,10 +111,16 @@
* QFloatDialog.C:
* ui/QFloatDialog.ui: fix bug 527 and more
2002-09-12 Angus Leeming <leeming@lyx.org>
* iconpalette.C (resizeEvent): compile fix.
* QInclude.C (update_contents): remove lyxerr call.
2002-09-08 John Levon <levon@movementarian.org>
* qfont_loader.C: fix bug 531 (emph())
2002-09-08 John Levon <levon@movementarian.org>
* QMathDialog.C:

View File

@ -55,8 +55,6 @@ void QInclude::update_contents()
dialog_->visiblespaceCB->setChecked(false);
dialog_->visiblespaceCB->setEnabled(false);
lyxerr << cmdname << endl;
if (cmdname == "input")
dialog_->typeCO->setCurrentItem(0);
else if (!cmdname.empty()) {

View File

@ -72,7 +72,7 @@ void IconPalette::resizeEvent(QResizeEvent * e)
return;
int cols(width() / button_size);
int rows = max(buttons_.size() / cols, 1U);
int rows = max(int(buttons_.size() / cols), 1);
if (buttons_.size() % cols)
++rows;