mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-11 08:48:14 +00:00
Fix scaling in crash reporter
This commit is contained in:
parent
4e210e40a2
commit
17de6c1ff3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user