mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor: Add parentheses around the '&&' expression
This commit is contained in:
parent
c417071ee8
commit
b691cf9bed
|
@ -352,8 +352,8 @@ void ContentDialog::cycleContacts(bool forward, bool inverse)
|
|||
bool isCurOffline = currentLayout == friendLayout->getLayoutOffline();
|
||||
bool isCurOnline = currentLayout == friendLayout->getLayoutOnline();
|
||||
bool isCurGroup = currentLayout == groupLayout.getLayout();
|
||||
bool nextIsEmpty = isCurOnline && offlineEmpty && (groupsEmpty || groupsOnTop) ||
|
||||
isCurGroup && offlineEmpty && (onlineEmpty || !groupsOnTop) ||
|
||||
bool nextIsEmpty = (isCurOnline && offlineEmpty && (groupsEmpty || groupsOnTop)) ||
|
||||
(isCurGroup && offlineEmpty && (onlineEmpty || !groupsOnTop)) ||
|
||||
isCurOffline;
|
||||
|
||||
if (nextIsEmpty) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user