chore: connection list icon

This commit is contained in:
arm64v8a
2023-01-12 13:14:54 +09:00
parent 6a344bc3d5
commit 51e00eeaaf
9 changed files with 34 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
#include <QPainter>
QIcon Icon::GetTrayIcon(Icon::TrayIconStatus status) {
QPixmap Icon::GetTrayIcon(Icon::TrayIconStatus status) {
QPixmap pixmap;
// software embedded icon
@@ -47,7 +47,7 @@ QIcon Icon::GetTrayIcon(Icon::TrayIconStatus status) {
return pixmap;
}
QIcon Icon::GetMaterialIcon(const QString &name) {
QPixmap Icon::GetMaterialIcon(const QString &name) {
QPixmap pixmap(":/icon/material/" + name + ".svg");
return pixmap;
}