mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(warning): Fix compile warnings
- change preprocessor warning on runtime qWarning - add parentheses around ‘&&’ within ‘||’
This commit is contained in:
parent
5b120c18ef
commit
026517dc5a
|
@ -345,7 +345,7 @@ void ContentDialog::cycleContacts(bool forward, bool inverse)
|
|||
bool isCurGroup = currentLayout == groupLayout.getLayout();
|
||||
bool nextIsEmpty = (isCurOnline && offlineEmpty && (groupsEmpty || groupsOnTop))
|
||||
|| (isCurGroup && offlineEmpty && (onlineEmpty || !groupsOnTop))
|
||||
|| isCurOffline;
|
||||
|| (isCurOffline);
|
||||
|
||||
if (nextIsEmpty) {
|
||||
forward = !forward;
|
||||
|
|
Loading…
Reference in New Issue
Block a user