Date: Thursday, June 18, 2020 @ 07:36:55 Author: felixonmars Revision: 646795
upgpkg: deepin-session-shell 5.1.0.3-1 Modified: deepin-session-shell/trunk/PKGBUILD deepin-session-shell/trunk/icon-size.patch -----------------+ PKGBUILD | 8 ++++---- icon-size.patch | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-18 07:36:37 UTC (rev 646794) +++ PKGBUILD 2020-06-18 07:36:55 UTC (rev 646795) @@ -3,8 +3,8 @@ # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> pkgname=deepin-session-shell -pkgver=5.1.0.1 -pkgrel=3 +pkgver=5.1.0.3 +pkgrel=1 pkgdesc='Deepin desktop-environment - session-shell module' arch=('x86_64') url="https://github.com/linuxdeepin/dde-session-shell" @@ -16,8 +16,8 @@ groups=('deepin') source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-shell/archive/$pkgver.tar.gz" icon-size.patch) -sha512sums=('d328762fabb6ca491c618206adbfc1db651a229928eea1ca9e9b5e51d5432127725676c8e85da6837e5c82b959f5f5d403f80054425beab84a4830a84ca0fce1' - '4e4c2a0d6ea124121fcad6377fb8ecd7a678667f1bab962cbce3a439fd5155172c897264a11b15667cc07b160de19c0b2e669af7b31bdabf3e04e134343aab39') +sha512sums=('01bbbd661ce61c85f385e7c456b68226308b9f3da3d28edfa22db20effab3e0e719a00da1bbc16e0194c68f994d58d4ad12b8cc3f94d41057dcb271ff20e7f91' + 'bfd3b15a5dce361eea2f8ced63a240edbbc19096a372963dc788d45faa372f841db2b2a6f29cb87aebadc00c921d56a99b21cec951e595acf220c8fc687395b6') prepare() { cd dde-session-shell-$pkgver Modified: icon-size.patch =================================================================== --- icon-size.patch 2020-06-18 07:36:37 UTC (rev 646794) +++ icon-size.patch 2020-06-18 07:36:55 UTC (rev 646795) @@ -2,16 +2,17 @@ index 1875727..8d74073 100644 --- a/src/global_util/public_func.cpp +++ b/src/global_util/public_func.cpp -@@ -25,18 +25,18 @@ +@@ -27,7 +27,7 @@ + #include <QFile> + #include "constants.h" - #include "public_func.h" - -QPixmap loadPixmap(const QString &file) +QPixmap loadPixmap(const QString &file, const QSize& size) { - qreal ratio = 1.0; - qreal devicePixel = qApp->devicePixelRatio(); + if(!QFile::exists(file)){ +@@ -39,11 +39,11 @@ + QPixmap pixmap; - if (!qFuzzyCompare(ratio, devicePixel)) {