Skip to content

Commit

Permalink
fix: the environment variable is set incorrectly (#111)
Browse files Browse the repository at this point in the history
Change the colon to a semicolon

pms: Bug-294943
  • Loading branch information
xionglinlin authored Dec 14, 2024
1 parent 9feb5d9 commit e7dabe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dde-session/environmentsmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void EnvironmentsManager::createGeneralEnvironments()

QByteArray sessionType = qgetenv("XDG_SESSION_TYPE");
if (sessionType == "x11") {
m_envMap.insert("QT_QPA_PLATFORM", "dxcb:xcb");
m_envMap.insert("QT_QPA_PLATFORM", "dxcb;xcb");
} else if (sessionType == "wayland") {
m_envMap.insert("QT_QPA_PLATFORM", "wayland;xcb");
m_envMap.insert("QT_WAYLAND_SHELL_INTEGRATION", "xdg-shell;wl-shell;ivi-shell;qt-shell;");
Expand Down

0 comments on commit e7dabe6

Please sign in to comment.