1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 13:33:50 +03:00

fix parenthesis typo

--by using clang an issue with a paranthesis
logical statement was discovered. this commit
fixes the logic in that statement
This commit is contained in:
Michail Vourlakos 2017-05-11 21:37:49 +03:00
parent a8b17964af
commit b1c0131600

View File

@ -291,7 +291,7 @@ void DockView::reconsiderScreen()
//! 1.a primary dock must be always on the primary screen
//! 2.the last tasks dock must also always on the primary screen
//! even though it has been configured as an explicit
if ((m_onPrimary || (tasksPresent() && dockCorona->noDocksWithTasks() == 1) && !screenExists)
if ((m_onPrimary || (tasksPresent() && dockCorona->noDocksWithTasks() == 1 && !screenExists))
&& m_screenToFollowId != qGuiApp->primaryScreen()->name()
&& m_screenToFollow != qGuiApp->primaryScreen()) {
//change to primary screen only if the specific edge is free