Reformat some files according to .clang-format

This commit is contained in:
Rasmus Karlsson
2017-12-16 02:22:35 +01:00
parent a372bae80d
commit 676c7b9017
4 changed files with 65 additions and 92 deletions
+2 -1
View File
@@ -135,7 +135,8 @@ QVBoxLayout *SettingsDialog::createAccountsTab()
// Select the currently logged in user
if (listWidget->count() > 0) {
const QString &currentUsername = AccountManager::getInstance().Twitch.getCurrent()->getUserName();
const QString &currentUsername =
AccountManager::getInstance().Twitch.getCurrent()->getUserName();
for (int i = 0; i < listWidget->count(); ++i) {
QString itemText = listWidget->item(i)->text();
if (itemText.compare(currentUsername, Qt::CaseInsensitive) == 0) {