diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 3f6a37ba8..176689c93 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -237,6 +237,7 @@ Kevin Nakamura Bradley Szoke jcznk Thomas Rixen +Siyuan Mattuwu Yan ******************** diff --git a/qt/aqt/data/qt/icons/media-record.png b/qt/aqt/data/qt/icons/media-record.png deleted file mode 100644 index 776e38f6a..000000000 Binary files a/qt/aqt/data/qt/icons/media-record.png and /dev/null differ diff --git a/qt/aqt/data/qt/icons/media-record.svg b/qt/aqt/data/qt/icons/media-record.svg new file mode 100644 index 000000000..894787f6c --- /dev/null +++ b/qt/aqt/data/qt/icons/media-record.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/qt/aqt/sound.py b/qt/aqt/sound.py index 25fe07e53..e62786871 100644 --- a/qt/aqt/sound.py +++ b/qt/aqt/sound.py @@ -743,7 +743,8 @@ class RecordDialog(QDialog): def _setup_dialog(self) -> None: self.setWindowTitle("Anki") icon = QLabel() - icon.setPixmap(QPixmap("icons:media-record.png")) + qicon = QIcon("icons:media-record.svg") + icon.setPixmap(qicon.pixmap(60, 60)) self.label = QLabel("...") hbox = QHBoxLayout() hbox.addWidget(icon)