mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 02:34:36 +00:00
Disable high dpi auto scaling
This commit is contained in:
parent
4ca35af11a
commit
05084422a5
1 changed files with 5 additions and 5 deletions
10
main.cpp
10
main.cpp
|
@ -68,11 +68,11 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
// Enable high DPI scaling on windows & linux
|
// // Enable high DPI scaling on windows & linux
|
||||||
#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
|
//#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
|
||||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
// QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
qDebug() << "High DPI auto scaling - enabled";
|
// qDebug() << "High DPI auto scaling - enabled";
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
// Log settings
|
// Log settings
|
||||||
Monero::Wallet::init(argv[0], "monero-wallet-gui");
|
Monero::Wallet::init(argv[0], "monero-wallet-gui");
|
||||||
|
|
Loading…
Reference in a new issue