diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-08 16:14:12 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-01 15:07:10 +0300 |
commit | 6b2ce65392dc98250e84941370e975048b8afc54 (patch) | |
tree | 073a4e34edf623383a9a7418df5d0933ba9df481 /src/qt/guiutil.h | |
parent | ff530a2093c294a1093e1b00fb66ab0a98851c04 (diff) | |
download | bitcoin-6b2ce65392dc98250e84941370e975048b8afc54.tar.xz |
qt: Replace base class of ClickableLabel with ThemedLabel
This change fixes the GUI when changing appearance on macOS.
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 31e7aa7335..d3d0ba64ca 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -241,10 +241,13 @@ namespace GUIUtil void updateThemedPixmap(); }; - class ClickableLabel : public QLabel + class ClickableLabel : public ThemedLabel { Q_OBJECT + public: + explicit ClickableLabel(const PlatformStyle* platform_style, QWidget* parent = nullptr); + Q_SIGNALS: /** Emitted when the label is clicked. The relative mouse coordinates of the click are * passed to the signal. |