File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,19 @@ void SendCoinsEntry::updateDisplayUnit()
236
236
}
237
237
}
238
238
239
+ void SendCoinsEntry::changeEvent (QEvent* e)
240
+ {
241
+ #ifdef Q_OS_MACOS
242
+ if (e->type () == QEvent::PaletteChange) {
243
+ ui->addressBookButton ->setIcon (platformStyle->SingleColorIcon (QStringLiteral (" :/icons/address-book" )));
244
+ ui->pasteButton ->setIcon (platformStyle->SingleColorIcon (QStringLiteral (" :/icons/editpaste" )));
245
+ ui->deleteButton ->setIcon (platformStyle->SingleColorIcon (QStringLiteral (" :/icons/remove" )));
246
+ ui->deleteButton_is ->setIcon (platformStyle->SingleColorIcon (QStringLiteral (" :/icons/remove" )));
247
+ ui->deleteButton_s ->setIcon (platformStyle->SingleColorIcon (QStringLiteral (" :/icons/remove" )));
248
+ }
249
+ #endif
250
+ }
251
+
239
252
bool SendCoinsEntry::updateLabel (const QString &address)
240
253
{
241
254
if (!model)
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ private Q_SLOTS:
69
69
void on_pasteButton_clicked ();
70
70
void updateDisplayUnit ();
71
71
72
+ protected:
73
+ void changeEvent (QEvent* e) override ;
74
+
72
75
private:
73
76
SendCoinsRecipient recipient;
74
77
Ui::SendCoinsEntry *ui;
You can’t perform that action at this time.
0 commit comments