mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-20 08:07:09 +02:00
Fix scaling in crash reporter
This commit is contained in:
parent
4e210e40a2
commit
17de6c1ff3
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue