Drop Screens::number()

This commit is contained in:
Vlad Zahorodnii 2022-03-29 13:27:12 +03:00
parent 66850e62a0
commit cc1bd42f16
2 changed files with 0 additions and 6 deletions

View file

@ -109,11 +109,6 @@ void Screens::setCount(int count)
Q_EMIT countChanged(previous, count); Q_EMIT countChanged(previous, count);
} }
int Screens::number(const QPoint &pos) const
{
return kwinApp()->platform()->enabledOutputs().indexOf(kwinApp()->platform()->outputAt(pos));
}
AbstractOutput *Screens::findOutput(int screen) const AbstractOutput *Screens::findOutput(int screen) const
{ {
return kwinApp()->platform()->findOutput(screen); return kwinApp()->platform()->findOutput(screen);

View file

@ -62,7 +62,6 @@ public:
* @see sizeChanged() * @see sizeChanged()
*/ */
QSize size() const; QSize size() const;
int number(const QPoint &pos) const;
Q_SIGNALS: Q_SIGNALS:
void countChanged(int previousCount, int newCount); void countChanged(int previousCount, int newCount);