mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
Fix macos compilation
This commit is contained in:
parent
9141c8f8cc
commit
33841a93e2
@ -163,14 +163,8 @@ void MonitorListModel::loadMonitors()
|
||||
if (screen->geometry().width() == 0 || screen->geometry().height() == 0)
|
||||
continue;
|
||||
|
||||
QRect availableVirtualGeometry(
|
||||
screen->geometry().x() + offsetX,
|
||||
screen->geometry().y() + offsetY,
|
||||
screen->geometry().width(),
|
||||
screen->geometry().height());
|
||||
|
||||
beginInsertRows(index, m_monitorList.size(), m_monitorList.size());
|
||||
m_monitorList.append(Monitor { i, availableVirtualGeometry, screen });
|
||||
m_monitorList.append(Monitor { i, screen->geometry() });
|
||||
endInsertRows();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user