Skip to content

Commit 81c5fc5

Browse files
memuratsgithub-actions
authored andcommitted
change settings box
1 parent 43be88c commit 81c5fc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gui/networksettings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,18 +283,18 @@ void NetworkSettings::checkAccountLocalhost()
283283

284284
void NetworkSettings::paintEvent(QPaintEvent *event)
285285
{
286-
287286
const int radius = 4;
288287

289288
QPainter painter(this);
290289
painter.setRenderHint(QPainter::Antialiasing);
291290

292291
QRect rect(0, 0, width(), height());
292+
293293
QPainterPath path;
294294
path.addRoundedRect(rect, radius, radius);
295295

296296
QPalette palette = this->palette();
297-
painter.fillRect(rect, palette.color(QPalette::Base));
297+
298298
painter.fillPath(path, palette.color(QPalette::Base));
299299

300300
QWidget::paintEvent(event);

0 commit comments

Comments
 (0)