diff --git a/Telegram/SourceFiles/core/crash_report_window.cpp b/Telegram/SourceFiles/core/crash_report_window.cpp index f2434f195..4f69672b8 100644 --- a/Telegram/SourceFiles/core/crash_report_window.cpp +++ b/Telegram/SourceFiles/core/crash_report_window.cpp @@ -42,7 +42,9 @@ PreLaunchWindow::PreLaunchWindow(QString title) { p.setColor(QPalette::Background, QColor(255, 255, 255)); setPalette(p); - _size = QFontInfo(QApplication::font()).pixelSize(); + QLabel tmp(this); + tmp.setText(qsl("Tmp")); + _size = tmp.sizeHint().height(); int paddingVertical = (_size / 2); int paddingHorizontal = _size;