removed debug code

This commit is contained in:
John Preston 2014-07-06 07:40:01 +04:00
parent 1167117ee0
commit 4e763dcb26
1 changed files with 0 additions and 10 deletions

View File

@ -85,16 +85,6 @@ Application::Application(int &argc, char **argv) : PsApplication(argc, argv),
QFontDatabase::addApplicationFont(qsl(":/gui/art/OpenSans-Bold.ttf"));
QFontDatabase::addApplicationFont(qsl(":/gui/art/OpenSans-Semibold.ttf"));
{
QImage img(800, 600, QImage::Format_ARGB32_Premultiplied);
QPainter p(&img);
QFont f;
f.setPixelSize(24);
f.setFamily("Open Sans Semibold");
p.setFont(f);
p.drawText(0, 0, "t");
}
float64 dpi = primaryScreen()->logicalDotsPerInch();
if (dpi <= 108) { // 0-96-108
cSetScreenScale(dbisOne);