Browse Source

style: Fix EOF, remove trailing space and add braces

reviewable/pr5471/r3
Diadlo 7 years ago
parent
commit
68bf26305c
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
  1. 6
      src/widget/contentdialogmanager.cpp

6
src/widget/contentdialogmanager.cpp

@ -83,15 +83,17 @@ GroupWidget* ContentDialogManager::addGroupToDialog(ContentDialog* dialog,
void ContentDialogManager::focusFriend(int friendId) void ContentDialogManager::focusFriend(int friendId)
{ {
auto dialog = focusDialog(friendId, friendDialogs); auto dialog = focusDialog(friendId, friendDialogs);
if (dialog != nullptr) if (dialog != nullptr) {
dialog->focusFriend(friendId); dialog->focusFriend(friendId);
}
} }
void ContentDialogManager::focusGroup(int groupId) void ContentDialogManager::focusGroup(int groupId)
{ {
auto dialog = focusDialog(groupId, groupDialogs); auto dialog = focusDialog(groupId, groupDialogs);
if (dialog != nullptr) if (dialog != nullptr) {
dialog->focusGroup(groupId); dialog->focusGroup(groupId);
}
} }
/** /**

Loading…
Cancel
Save