Mercurial > hg > svgui
diff view/ViewManager.cpp @ 1224:d25f1f99c6fa
Minor debug
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2017 21:15:27 +0000 |
parents | efc7586de499 |
children | a34a2a25907c |
line wrap: on
line diff
--- a/view/ViewManager.cpp Thu Jan 26 21:15:20 2017 +0000 +++ b/view/ViewManager.cpp Thu Jan 26 21:15:27 2017 +0000 @@ -804,6 +804,9 @@ #endif double em = QFontMetrics(QFont()).height(); ratio = em / baseEm; + + SVDEBUG << "ViewManager::scalePixelSize: ratio is " << ratio + << " (em = " << em << ")" << endl; } int scaled = int(pixels * ratio + 0.5);