mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
fix: setDescription from cmdline or cfg not working
when aboutDialog is not created yet, ApplicationDescription can't be set Log: merge changes from develop/qt6 branch
This commit is contained in:
@@ -34,7 +34,7 @@ void WebEngineView::handleChromiumFlags()
|
||||
DGuiApplicationHelper::ColorType themeType = DGuiApplicationHelper::instance()->themeType();
|
||||
|
||||
QString env = qgetenv("QTWEBENGINE_CHROMIUM_FLAGS");
|
||||
QStringList flags = env.split(" ", QString::SkipEmptyParts);
|
||||
QStringList flags = env.split(" ", Qt::SkipEmptyParts);
|
||||
|
||||
/**
|
||||
* --blink-settings=preferredColorScheme=0 强制 prefers-color-scheme=dark (>= 5.14)
|
||||
|
||||
Reference in New Issue
Block a user