Add missing const-referenece
I assume it was a typo
This commit is contained in:
parent
07763229eb
commit
06e26212a2
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue