From 14bb99e42feaa54b7657f2e1dfb1c658a8e0a3de Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Tue, 23 Jan 2024 02:30:18 +0000 Subject: [PATCH] sync: from linuxdeepin/dtkdeclarative Synchronize source files from linuxdeepin/dtkdeclarative. Source-pull-request: https://github.com/linuxdeepin/dtkdeclarative/pull/285 --- CMakeLists.txt | 2 +- src/private/dquickdciiconimage.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 863ea1ec..78782cd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.10) -set(DTK_VERSION "5.6.8" CACHE STRING "Define project version") +set(DTK_VERSION "5.6.23" CACHE STRING "Define project version") project(DtkDeclarative VERSION "${DTK_VERSION}" DESCRIPTION "DTK Declarative module" diff --git a/src/private/dquickdciiconimage.cpp b/src/private/dquickdciiconimage.cpp index 9e5cc13e..d1f2b3e2 100644 --- a/src/private/dquickdciiconimage.cpp +++ b/src/private/dquickdciiconimage.cpp @@ -44,6 +44,7 @@ QUrlQuery DQuickDciIconImageItemPrivate::getUrlQuery() query.addQueryItem(QLatin1String("name"), parentPriv->name); query.addQueryItem(QLatin1String("mode"), QString::number(parentPriv->mode)); query.addQueryItem(QLatin1String("theme"), QString::number(parentPriv->theme)); + query.addQueryItem("themeName", QIcon::themeName()); DDciIconPalette pal = parentPriv->palette; if (!parentPriv->palette.foreground().isValid() && q_func()->color().isValid()) { pal.setForeground(q_func()->color());