Apply suggestions from code review

Co-Authored-By: valentinvanelslande <valentinvanelslandeacnl@gmail.com>
This commit is contained in:
Mat M 2018-12-28 21:00:09 -05:00 committed by GitHub
parent 7c95032e3a
commit 90965525ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 10 deletions

View file

@ -1327,7 +1327,7 @@ void GMainWindow::OnConfigure() {
&GMainWindow::OnLanguageChanged);
auto old_theme = UISettings::values.theme;
const int old_profile = Settings::values.profile;
auto old_profiles = Settings::values.profiles;
const auto old_profiles = Settings::values.profiles;
const bool old_discord_presence = UISettings::values.enable_discord_presence;
auto result = configureDialog.exec();
if (result == QDialog::Accepted) {