From b1c013160082c4579d8d3b2a935addf8b5820601 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Thu, 11 May 2017 21:37:49 +0300 Subject: [PATCH] fix parenthesis typo --by using clang an issue with a paranthesis logical statement was discovered. this commit fixes the logic in that statement --- app/dockview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dockview.cpp b/app/dockview.cpp index 9c5a44a99..ac23014ed 100644 --- a/app/dockview.cpp +++ b/app/dockview.cpp @@ -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