mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: add more debugging output for screen width issue
Somehow we need to be able to figure out which width information is correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fdfa540747
commit
cd98cb8921
3 changed files with 10 additions and 1 deletions
|
@ -1717,6 +1717,7 @@ void QMLManager::setDevicePixelRatio(qreal dpr, QScreen *screen)
|
|||
|
||||
void QMLManager::screenChanged(QScreen *screen)
|
||||
{
|
||||
qDebug("QMLManager received screen changed notification (%d,%d)", screen->size().width(), screen->size().height());
|
||||
m_lastDevicePixelRatio = screen->devicePixelRatio();
|
||||
emit sendScreenChanged(screen);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue