From 4e763dcb263c442a5962f7d9a44b21ea8984a626 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 6 Jul 2014 07:40:01 +0400 Subject: [PATCH] removed debug code --- Telegram/SourceFiles/application.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Telegram/SourceFiles/application.cpp b/Telegram/SourceFiles/application.cpp index 7be317a70..395b23c56 100644 --- a/Telegram/SourceFiles/application.cpp +++ b/Telegram/SourceFiles/application.cpp @@ -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);