Commit 06e26212 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Add missing const-referenece

I assume it was a typo
parent 07763229
......@@ -759,7 +759,7 @@ void WaylandBackend::flush()
}
}
WaylandOutput* WaylandBackend::getOutputAt(const QPointF globalPosition)
WaylandOutput* WaylandBackend::getOutputAt(const QPointF &globalPosition)
{
const auto pos = globalPosition.toPoint();
auto checkPosition = [pos](WaylandOutput *output) {
......
......@@ -195,7 +195,7 @@ public:
void checkBufferSwap();
WaylandOutput* getOutputAt(const QPointF globalPosition);
WaylandOutput* getOutputAt(const QPointF &globalPosition);
Outputs outputs() const override;
Outputs enabledOutputs() const override;
QVector<WaylandOutput*> waylandOutputs() const {
......
Markdown is supported
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