summaryrefslogtreecommitdiff
path: root/src/plugins/welcome/welcomeplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/welcome/welcomeplugin.cpp')
-rw-r--r--src/plugins/welcome/welcomeplugin.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp
index 13bcb6757e..8a34fdd466 100644
--- a/src/plugins/welcome/welcomeplugin.cpp
+++ b/src/plugins/welcome/welcomeplugin.cpp
@@ -208,12 +208,10 @@ public:
vbox->setSpacing(0);
vbox->setContentsMargins(0, 27, 0, 0);
- int sd = IWelcomePage::screenDependHeightDistance();
-
{
auto l = m_pluginButtons = new QVBoxLayout;
l->setContentsMargins(lrPadding, 0, lrPadding, 0);
- l->setSpacing(sd + 3);
+ l->setSpacing(19);
vbox->addItem(l);
vbox->addSpacing(62);
}
@@ -221,7 +219,7 @@ public:
{
auto l = new QVBoxLayout;
l->setContentsMargins(lrPadding, 0, lrPadding, 0);
- l->setSpacing(sd - 8);
+ l->setSpacing(8);
auto newLabel = new QLabel(tr("New to Qt?"), this);
newLabel->setFont(sizedFont(18, this));