From 0410dc8f4dc6c6cc8840a5dbacafb60790b2ab42 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Thu, 12 Jan 2023 12:17:26 +0000 Subject: [PATCH] Spreadsheet: [skip ci] convert tabs to spaces Minor housekeeping fix --- src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp b/src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp index b746fad689..d08c66f3e3 100644 --- a/src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp +++ b/src/Mod/Spreadsheet/Gui/qtcolorpicker.cpp @@ -360,8 +360,8 @@ void QtColorPicker::paintEvent(QPaintEvent *e) QPainter p(&pix); - int w = pix.width(); // width of cell in pixels - int h = pix.height(); // height of cell in pixels + int w = pix.width(); // width of cell in pixels + int h = pix.height(); // height of cell in pixels p.setPen(QPen(Qt::gray)); p.setBrush(col); p.drawRect(2, 2, w - 5, h - 5); @@ -1025,8 +1025,8 @@ void ColorPickerItem::mousePressEvent(QMouseEvent *) void ColorPickerItem::paintEvent(QPaintEvent *) { QPainter p(this); - int w = width(); // width of cell in pixels - int h = height(); // height of cell in pixels + int w = width(); // width of cell in pixels + int h = height(); // height of cell in pixels p.setPen( QPen( Qt::gray, 0, Qt::SolidLine ) );