mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
style: Fix EOF, remove trailing space and add braces
This commit is contained in:
parent
3f5105d5c1
commit
68bf26305c
|
@ -83,16 +83,18 @@ GroupWidget* ContentDialogManager::addGroupToDialog(ContentDialog* dialog,
|
|||
void ContentDialogManager::focusFriend(int friendId)
|
||||
{
|
||||
auto dialog = focusDialog(friendId, friendDialogs);
|
||||
if (dialog != nullptr)
|
||||
if (dialog != nullptr) {
|
||||
dialog->focusFriend(friendId);
|
||||
}
|
||||
}
|
||||
|
||||
void ContentDialogManager::focusGroup(int groupId)
|
||||
{
|
||||
auto dialog = focusDialog(groupId, groupDialogs);
|
||||
if (dialog != nullptr)
|
||||
if (dialog != nullptr) {
|
||||
dialog->focusGroup(groupId);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Focus the dialog if it exists.
|
||||
|
|
Loading…
Reference in New Issue
Block a user