From e83c00f0cbeb358de15cad7300c02a0b4506eefc Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Sun, 6 Nov 2022 19:33:48 +0800 Subject: [PATCH] fix build with qt5 Signed-off-by: Yuhang Zhao <2546789017@qq.com> --- src/core/framelesshelpercore_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/framelesshelpercore_global.cpp b/src/core/framelesshelpercore_global.cpp index 866798a..41a5fd8 100644 --- a/src/core/framelesshelpercore_global.cpp +++ b/src/core/framelesshelpercore_global.cpp @@ -350,7 +350,7 @@ void outputLogo() } const VersionInfo &ver = version(); QString message = {}; - QTextStream stream(&message, QTextStream::WriteOnly); + QTextStream stream(&message, QIODevice::WriteOnly); stream << "FramelessHelper (" << (ver.isStatic ? "static" : "shared") << ", " << (ver.isDebug ? "debug" : "release") << ") version " << ver.version_str << ", author wangwenx190 (Yuhang Zhao).\n"