mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 16:27:26 -04:00
main: enable high DPI scaling
This commit is contained in:
@@ -170,11 +170,8 @@ int main(int argc, char *argv[])
|
|||||||
if (isDesktop) putenv((char*)"QT_QPA_PLATFORM=xcb");
|
if (isDesktop) putenv((char*)"QT_QPA_PLATFORM=xcb");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// // Enable high DPI scaling on windows & linux
|
// enable High DPI scaling
|
||||||
//#if !defined(Q_OS_ANDROID) && QT_VERSION >= 0x050600
|
qputenv("QT_ENABLE_HIGHDPI_SCALING", "1");
|
||||||
// QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
|
||||||
// qDebug() << "High DPI auto scaling - enabled";
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
// Turn off colors in monerod log output.
|
// Turn off colors in monerod log output.
|
||||||
qputenv("TERM", "goaway");
|
qputenv("TERM", "goaway");
|
||||||
|
|||||||
Reference in New Issue
Block a user