mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Trivial bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5292 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
be865e22f2
commit
0d325e0e3f
@ -111,6 +111,12 @@
|
||||
* 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())
|
||||
|
@ -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()) {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user