Merge branch '1018' into 'yhkylin/v101'
fix(display):wayland display(#197411) See merge request kylinos-src/kylin-nm!289
This commit is contained in:
commit
8c725e0ad1
|
@ -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