X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fwidgets%2Fwellarray.cpp;h=4e3382ba9153c90a2bcc962f03bdd7872e22a39a;hb=5d9fe823db16bc4a537e600451876a735d20a98d;hp=1351467a122a7bc8c5bcd36e23ef7fd4192a6638;hpb=d9ea96280ab1128427143660ae375c30b19aa0cb;p=pulseview.git diff --git a/pv/widgets/wellarray.cpp b/pv/widgets/wellarray.cpp index 1351467..4e3382b 100644 --- a/pv/widgets/wellarray.cpp +++ b/pv/widgets/wellarray.cpp @@ -125,7 +125,7 @@ void WellArray::paintCell(QPainter* p, int row, int col, const QRect &rect) { int b = 3; //margin - const QPalette & g = palette(); + const QPalette& g = palette(); QStyleOptionFrame opt; int dfw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth); opt.lineWidth = dfw; @@ -265,7 +265,7 @@ void WellArray::focusOutEvent(QFocusEvent*) */ void WellArray::keyPressEvent(QKeyEvent* event) { - switch(event->key()) { // Look at the key code + switch (event->key()) { // Look at the key code case Qt::Key_Left: // If 'left arrow'-key, if (curCol > 0) // and cr't not in leftmost col setCurrent(curRow, curCol - 1); // set cr't to next left column @@ -292,5 +292,5 @@ void WellArray::keyPressEvent(QKeyEvent* event) } -} // namespace wellarray +} // namespace widgets } // namespace pv