Commit 9e92dcee authored by Daniel Teske's avatar Daniel Teske Committed by Eike Ziller
Browse files

Coding style in targetselector.cpp



Change-Id: I4a6709696f383a144f5df46ef0825ed335d39563
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 4c171624
......@@ -259,7 +259,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
if (buildSelected) {
image = m_buildselected;
} else {
image= m_runselected;
image = m_runselected;
}
} else {
p.setPen(Qt::black);
......@@ -275,7 +275,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
QFontMetrics fm = fontMetrics();
QRect textRect(x + margin, size.height() - fm.height() - 7, targetWidth()/2, fm.height());
p.setPen(buildSelected ? Qt::black : Qt::white);
if (index!=m_currentTargetIndex)
if (index != m_currentTargetIndex)
p.setPen(QColor(0x555555));
else
p.setPen(buildSelected ? Qt::black : Qt::white);
......@@ -284,7 +284,7 @@ void TargetSelector::paintEvent(QPaintEvent *event)
// Run
textRect.moveLeft(x + targetWidth()/2 - 2 * margin);
if (index!=m_currentTargetIndex)
if (index != m_currentTargetIndex)
p.setPen(QColor(0x555555));
else
p.setPen(buildSelected ? Qt::white: Qt::black);
......
Supports Markdown
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