mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 18:57:26 -04:00
Fix high DPI scaling
not android
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -64,6 +64,10 @@ 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
|
||||||
|
#if !defined(Q_OS_ANDROID)
|
||||||
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
|
#endif
|
||||||
Monero::Wallet::init(argv[0], "monero-wallet-gui");
|
Monero::Wallet::init(argv[0], "monero-wallet-gui");
|
||||||
|
|
||||||
qInstallMessageHandler(messageHandler);
|
qInstallMessageHandler(messageHandler);
|
||||||
|
|||||||
Reference in New Issue
Block a user