Commit 60ef8409 authored by Dirk Rathlev's avatar Dirk Rathlev
Browse files

use Brush for TextItem instead of Pen

svn path=/trunk/KDE/kdegames/kspaceduel/; revision=639086
parent 860b34fc
......@@ -562,7 +562,7 @@ void MyMainView::timerEvent(QTimerEvent *event)
textSprite=new QGraphicsSimpleTextItem(0,&field);
// FIXME
// textSprite->setTextFlags(Qt::AlignCenter);
textSprite->setPen(QPen(QColor(255,160,0)));
textSprite->setBrush(QBrush(QColor(255,160,0)));
textSprite->setFont(QFont(KGlobalSettings::generalFont().family(),14));
textSprite->show( );
if(ship[0]->getHitPoints()==0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment