Skip to content

Commit

Permalink
Remove unnecessary spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Apr 12, 2020
1 parent 43f85f1 commit 02ad755
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/settingsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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()
Expand Down

0 comments on commit 02ad755

Please sign in to comment.