Add missing const-referenece

I assume it was a typo
master
Aleix Pol 2020-09-17 03:11:39 +02:00
parent 07763229eb
commit 06e26212a2
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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 {