# HG changeset patch # User Emanuel Schuetze # Date 1409321313 -7200 # Node ID 947a880ec5d322e319a4e45f28b4e3f8890b6e66 # Parent 01128d63226d23dd36fc7f27d4d794411f14cc45 (issue72) Set font color in red circle to white. Cleanup old code. diff -r 01128d63226d -r 947a880ec5d3 ui/l10n/administrator_de_DE.ts --- a/ui/l10n/administrator_de_DE.ts Fri Aug 29 14:28:00 2014 +0200 +++ b/ui/l10n/administrator_de_DE.ts Fri Aug 29 16:08:33 2014 +0200 @@ -485,38 +485,38 @@ - + Signing binaries... - + Failed to copy binaries to temporary location. - + Failed to sign binaries with osslsigncode. Please check that %1 is a valid code signing certificate and thatosslsigncode can be found in the PATH. - + Failed to load certificate: %1 - + Only 3072 bit RSA keys are supported by the current format. - + Failed to open input file: %1 - + Failed to read input file: %1 @@ -524,22 +524,22 @@ FinishedDialog - + Successfully created installation package - + Error! - + Details - + OK diff -r 01128d63226d -r 947a880ec5d3 ui/textoverlaybutton.cpp --- a/ui/textoverlaybutton.cpp Fri Aug 29 14:28:00 2014 +0200 +++ b/ui/textoverlaybutton.cpp Fri Aug 29 16:08:33 2014 +0200 @@ -30,16 +30,6 @@ QRect myRect = e->rect().translated(26, -29); // circle -/* old manually painted background - QLinearGradient gradient(myRect.topLeft(), - myRect.bottomRight()); - gradient.setColorAt(0, Qt::white); - gradient.setColorAt(0.7, Qt::red); - QBrush brush(gradient); - painter.setBrush(brush); - painter.setPen(Qt::white); - painter.drawEllipse(75.5, 6, 20, 20); - */ painter.drawPixmap(75.5, 5, mBackground); // font @@ -47,6 +37,7 @@ font.setPixelSize(11); font.setWeight(QFont::Bold); painter.setFont(font); + painter.setPen(Qt::white); painter.drawText(myRect, Qt::AlignCenter | Qt::AlignVCenter, mOverlay); return;