mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
disable HighDPI scaling on Linux
This commit is contained in:
parent
708832d7fd
commit
6a0cd06d4c
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
|||
}
|
||||
#endif
|
||||
|
||||
// Disable High DPI scaling on Linux for now
|
||||
#if defined(Q_OS_LINUX)
|
||||
qputenv("QT_ENABLE_HIGHDPI_SCALING", "0");
|
||||
#endif
|
||||
|
||||
QStringList argv_;
|
||||
for(int i = 0; i != argc; i++){
|
||||
argv_ << QString::fromStdString(argv[i]);
|
||||
|
|
Loading…
Reference in a new issue