fix(display):wayland display(#197411)
This commit is contained in:
parent
389ebb35de
commit
e98839feed
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue