// Get screen DPI to manage font sizes on different platforms
QScreen*srn=QGuiApplication::screens().at(0);// TODO: Find current monitor as opposed to picking first one
if(srn&&srn->logicalDotsPerInch()>50.0){
_dotsPerInch=(qreal)srn->logicalDotsPerInch();// Font point sizes are based on Mac 72dpi
}else{
qWarning()<<"System not reporting logical DPI, which is used to compute the appropriate font size. The default being used is 96dpi. If the text within buttons and UI elements are too big or too small, that's the reason.";