From df159744c6ab983e95700bb9275f0168d8fef0b3 Mon Sep 17 00:00:00 2001 From: YeShanShan Date: Fri, 13 Dec 2024 15:18:09 +0800 Subject: [PATCH] fix: missing default windowRadius as title. pms: BUG-291123 --- 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 f2211969..f7d5fd1d 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