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:
parent
a8b17964af
commit
b1c0131600
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user