fix build with qt5

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2022-11-06 19:33:48 +08:00
parent 07bd39d1aa
commit e83c00f0cb
1 changed files with 1 additions and 1 deletions

View File

@ -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"