Remove static from OSDPretty::current_screen

This commit is contained in:
Jonas Kvinge
2021-06-22 14:17:24 +02:00
parent b071ecb45e
commit f66aca2164
2 changed files with 2 additions and 2 deletions

View File

@@ -528,7 +528,7 @@ void OSDPretty::mouseReleaseEvent(QMouseEvent *) {
}
QScreen *OSDPretty::current_screen(const QPoint pos) {
QScreen *OSDPretty::current_screen(const QPoint pos) const {
QScreen *screen(nullptr);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))