From b961a63891b42866922ed98ec2b239a615b58c71 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Fri, 13 Dec 2024 07:19:04 +0000 Subject: [PATCH] sync: from linuxdeepin/dtkgui Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: https://github.com/linuxdeepin/dtkgui/pull/290 --- src/plugins/dplatforminterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/dplatforminterface.cpp b/src/plugins/dplatforminterface.cpp index f221196..f7d5fd1 100644 --- a/src/plugins/dplatforminterface.cpp +++ b/src/plugins/dplatforminterface.cpp @@ -50,12 +50,12 @@ int DPlatformInterface::dndDragThreshold() const int DPlatformInterface::windowRadius() const { - return {}; + return -1; } -int DPlatformInterface::windowRadius(int) const +int DPlatformInterface::windowRadius(int defaultValue) const { - return {}; + return defaultValue; } QByteArray DPlatformInterface::themeName() const