mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Improve crash report window on Windows.
This commit is contained in:
parent
e10964a0bc
commit
a4cdd83816
2 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "base/zlib_help.h"
|
||||
|
||||
#include <QtWidgets/QFileDialog>
|
||||
#include <QtGui/QFontInfo>
|
||||
#include <QtGui/QScreen>
|
||||
#include <QtGui/QDesktopServices>
|
||||
#include <QtCore/QStandardPaths>
|
||||
|
@ -43,7 +44,7 @@ PreLaunchWindow::PreLaunchWindow(QString title) {
|
|||
p.setColor(QPalette::Window, QColor(255, 255, 255));
|
||||
setPalette(p);
|
||||
|
||||
_size = QFontMetrics(font()).height();
|
||||
_size = QFontInfo(font()).pixelSize();
|
||||
|
||||
int paddingVertical = (_size / 2);
|
||||
int paddingHorizontal = _size;
|
||||
|
|
|
@ -404,7 +404,7 @@ if customRunCommand:
|
|||
stage('patches', """
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 3e11c652e1
|
||||
git checkout 73fe30738d
|
||||
""")
|
||||
|
||||
stage('msys64', """
|
||||
|
|
Loading…
Add table
Reference in a new issue