forked from qt-creator/qt-creator
Add whitespace after control keywords
find -name \*.cpp -o -name \*.h | \ xargs sed -Ei 's/ (for|foreach|if|switch|while)\(/ \1 (/g' Change-Id: I9efdff4bf0c8c01a52baaaeb75198483c77b0390 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3747e941ad
commit
a44aa55502
@@ -62,7 +62,7 @@ void RefactorOverlay::paint(QPainter *painter, const QRect &clip)
|
||||
RefactorMarker RefactorOverlay::markerAt(const QPoint &pos) const
|
||||
{
|
||||
QPointF offset = m_editor->contentOffset();
|
||||
foreach(const RefactorMarker &marker, m_markers) {
|
||||
foreach (const RefactorMarker &marker, m_markers) {
|
||||
if (marker.rect.translated(offset.toPoint()).contains(pos))
|
||||
return marker;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user