fix(display):wayland display(#197411)

This commit is contained in:
jzxc95 2023-10-18 14:20:36 +08:00
parent 389ebb35de
commit e98839feed
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ int main(int argc, char *argv[])
sessionType = "x11"; sessionType = "x11";
display = getenv("DISPLAY"); display = getenv("DISPLAY");
} }
qDebug() << display; qDebug() << sessionType << display;
qApp->setProperty("sessionType", sessionType);
QDBusInterface interface("com.kylin.network", QDBusInterface interface("com.kylin.network",
"/com/kylin/network", "/com/kylin/network",