Commit 2b5e8632 authored by David Faure's avatar David Faure

Fix regression in "Port the pager applet away from QtWidgets"

BUG: 414849
parent 567f7171
......@@ -77,7 +77,7 @@ QVariant WindowModel::data(const QModelIndex &index, int role) const
if (role == AbstractTasksModel::Geometry) {
QRect windowGeo = TaskFilterProxyModel::data(index, role).toRect();
QList<QScreen *> screens = QGuiApplication::screens();
const QRect desktopGeo = screens.at(0)->geometry();
const QRect desktopGeo = screens.at(0)->virtualGeometry();
if (KWindowSystem::mapViewport()) {
int x = windowGeo.center().x() % desktopGeo.width();
......
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