From 96feb9b54cfb181b0068e1027579c9509fb37cdf Mon Sep 17 00:00:00 2001 From: fourtf Date: Sat, 13 Jan 2018 02:18:13 +0100 Subject: [PATCH] _ --- src/widgets/helper/settingsdialogtab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/helper/settingsdialogtab.cpp b/src/widgets/helper/settingsdialogtab.cpp index a940311ec..423e441a1 100644 --- a/src/widgets/helper/settingsdialogtab.cpp +++ b/src/widgets/helper/settingsdialogtab.cpp @@ -52,9 +52,9 @@ void SettingsDialogTab::paintEvent(QPaintEvent *) painter.drawPixmap(a, a, pixmap); - a = a + a + 20; + a = a + a + 20 + a; - painter.drawText(QRect(a + a, 0, width() - a, height()), this->ui.labelText, + painter.drawText(QRect(a, 0, width() - a, height()), this->ui.labelText, QTextOption(Qt::AlignLeft | Qt::AlignVCenter)); }