diff --git a/frame/dbus/dbusdockadaptors.cpp b/frame/dbus/dbusdockadaptors.cpp index 517185ad0..cf6121ee7 100644 --- a/frame/dbus/dbusdockadaptors.cpp +++ b/frame/dbus/dbusdockadaptors.cpp @@ -189,7 +189,7 @@ DockItemInfos DBusDockAdaptors::plugins() QBuffer buffer(&info.iconLight); if (buffer.open(QIODevice::WriteOnly)) { QPixmap pixmap = lightIcon.pixmap(pixmapSize); - pixmap.save(&buffer, "svg"); + pixmap.save(&buffer, "png"); } } QIcon darkIcon = getSettingIcon(plugin, pixmapSize, DGuiApplicationHelper::ColorType::DarkType); @@ -197,7 +197,7 @@ DockItemInfos DBusDockAdaptors::plugins() QBuffer buffer(&info.iconDark); if (buffer.open(QIODevice::WriteOnly)) { QPixmap pixmap = darkIcon.pixmap(pixmapSize); - pixmap.save(&buffer, "svg"); + pixmap.save(&buffer, "png"); } } pluginInfos << info;