make the custom bullet fix compile on SuSE 9.0

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8958 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2004-08-19 06:30:43 +00:00
parent 88506129ee
commit 37ef04812b
2 changed files with 6 additions and 1 deletions

View File

@ -217,7 +217,7 @@ void BulletsModule::setBullet(QPushButton * pb, QComboBox * co, Bullet const & b
{
if (b.getFont() == -1) {
pb->setPixmap(QPixmap());
pb->setText(b.getText());
pb->setText(toqstr(b.getText()));
} else {
pb->setPixmap(getPixmap(b.getFont(), b.getCharacter()));
}

View File

@ -1,3 +1,8 @@
2004-08-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* BulletsModule.C (setBullet): use toqstr() for a string passed to
qt, otherwise it won't compile on SuSE 9.0
2004-08-18 Lars Gullik Bjonnes <larsbj@gullik.net>
* Some pch work.