diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2021-06-22 19:19:50 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2021-06-22 19:24:42 +0000 |
commit | c901d4d8ce7949276da57eacb82b1a3ce40cac27 (patch) | |
tree | 8288a2cc71335012d0c290c576f761b7a1e39dd7 /src/qt/rpcconsole.cpp | |
parent | 327e2691f6e0498aa868af965bb4a951c5be17c5 (diff) | |
download | bitcoin-c901d4d8ce7949276da57eacb82b1a3ce40cac27.tar.xz |
GUI: Enable palette change adaptation on all platforms
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r-- | src/qt/rpcconsole.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index ff4bfb16f6..68bbb9b963 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -882,7 +882,6 @@ void RPCConsole::keyPressEvent(QKeyEvent *event) void RPCConsole::changeEvent(QEvent* e) { -#ifdef Q_OS_MACOS if (e->type() == QEvent::PaletteChange) { ui->clearButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove"))); ui->fontBiggerButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/fontbigger"))); @@ -896,7 +895,6 @@ void RPCConsole::changeEvent(QEvent* e) platformStyle->SingleColorImage(ICON_MAPPING[i].source).scaled(QSize(consoleFontSize * 2, consoleFontSize * 2), Qt::IgnoreAspectRatio, Qt::SmoothTransformation)); } } -#endif } void RPCConsole::message(int category, const QString &message, bool html) |