From 02ad7555c2500845332a7f677513feac96a17f77 Mon Sep 17 00:00:00 2001 From: kraxarn Date: Sun, 12 Apr 2020 21:29:56 +0200 Subject: [PATCH] Remove unnecessary spacing --- src/settingsdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index 4492e32ca..5e1e4c0f4 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -132,6 +132,8 @@ QGroupBox *SettingsDialog::spotifySettings() auto bitrate = settings.sptBitrate(); sptBitrate->setCurrentIndex(bitrate == 96 ? 0 : bitrate == 160 ? 1 : 2); sptLayout->addWidget(sptBitrate); + // Filler + sptMainLayout->addStretch(1); // Final layout return sptSettings; } @@ -153,7 +155,7 @@ QString SettingsDialog::sptClient(const QString &path) }); process.waitForFinished(); // Entire stdout is version - return process.readAllStandardOutput(); + return process.readAllStandardOutput().trimmed(); } bool SettingsDialog::applySettings()