Drop uneeded toPoint
outputAt has an overload
This commit is contained in:
parent
0c5da45cfc
commit
862aae9d35
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ int WorkspaceWrapper::numScreens() const
|
|||
|
||||
int WorkspaceWrapper::screenAt(const QPointF &pos) const
|
||||
{
|
||||
return kwinApp()->platform()->enabledOutputs().indexOf(kwinApp()->platform()->outputAt(pos.toPoint()));
|
||||
return kwinApp()->platform()->enabledOutputs().indexOf(kwinApp()->platform()->outputAt(pos));
|
||||
}
|
||||
|
||||
int WorkspaceWrapper::activeScreen() const
|
||||
|
|
Loading…
Reference in a new issue