Skip to content

Commit

Permalink
Korjattu liika vihreä väri harjoituskirjanpitojen raporteissa
Browse files Browse the repository at this point in the history
  • Loading branch information
helihyv committed Aug 26, 2024
1 parent e261222 commit 951736c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kitsas/raportti/raportinkirjoittaja.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,8 @@ void RaportinKirjoittaja::tulostaYlatunniste(QPainter *painter, int sivu, bool n
}

if( kp()->asetukset()->onko("Harjoitus") && !kp()->asetukset()->onko("Demo") )
{
{
painter->save();
painter->setPen( QPen(Qt::green));
painter->setFont( QFont("FreeSans",14));
painter->drawText(QRect(sivunleveys / 8 * 5,0,sivunleveys/4, rivinkorkeus*2 ), Qt::AlignHCenter | Qt::AlignVCenter, kaanna("HARJOITUS") );
Expand Down

0 comments on commit 951736c

Please sign in to comment.