summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3d05be4)
If we didn't attach to an existing instance, we call QWindow::show() on
our MainWindow which requires the token. Upon successful attachment
to another instance we exit anyway.
QString token;
if (KWindowSystem::isPlatformWayland()) {
token = qEnvironmentVariable("XDG_ACTIVATION_TOKEN");
QString token;
if (KWindowSystem::isPlatformWayland()) {
token = qEnvironmentVariable("XDG_ACTIVATION_TOKEN");
- qunsetenv("XDG_ACTIVATION_TOKEN");
} else if (KWindowSystem::isPlatformX11()) {
#if HAVE_X11
token = QX11Info::nextStartupId();
} else if (KWindowSystem::isPlatformX11()) {
#if HAVE_X11
token = QX11Info::nextStartupId();