Commit 862aae9d authored by David Edmundson's avatar David Edmundson Committed by Vlad Zahorodnii
Browse files

Drop uneeded toPoint

outputAt has an overload
parent 0c5da45c
Pipeline #204941 passed with stage
in 12 minutes and 1 second
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment